Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 47.92 kB / 358.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09534, allocations: 49.44 MB / 408.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004492/0.09989, allocations: 2.851 MB / 411 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1014, allocations: 0.7245 MB / 411.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.1016, allocations: 4 kB / 411.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1018, allocations: 47.56 kB / 411.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1021, allocations: 99.19 kB / 411.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1024, allocations: 111.8 kB / 412 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.1029, allocations: 390.5 kB / 412.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.1031, allocations: 131.2 kB / 412.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.1034, allocations: 143.5 kB / 412.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1036, allocations: 171.2 kB / 412.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.1037, allocations: 40 kB / 412.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.1038, allocations: 36 kB / 412.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.1039, allocations: 79.75 kB / 412.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.104, allocations: 163.2 kB / 413.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.1045, allocations: 430.4 kB / 413.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1046, allocations: 0 / 413.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1046, allocations: 0 / 413.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1046, allocations: 0 / 413.5 MB, free: 1.367 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00132/0.1059, allocations: 0.6651 MB / 414.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1059, allocations: 11.89 kB / 414.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.106, allocations: 36.7 kB / 414.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1065, allocations: 292.8 kB / 414.5 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1065, allocations: 20.94 kB / 414.5 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.1066, allocations: 28.36 kB / 414.6 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.1073, allocations: 312 kB / 414.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1073, allocations: 0 / 414.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.1074, allocations: 12 kB / 414.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1074, allocations: 4 kB / 414.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008369/0.1082, allocations: 282 kB / 415.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.1101, allocations: 1.116 MB / 416.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.111, allocations: 242.6 kB / 416.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.1114, allocations: 100.8 kB / 416.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1114, allocations: 4 kB / 416.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/0.1119, allocations: 168.9 kB / 416.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.1119, allocations: 4 kB / 416.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001124/0.1131, allocations: 313.6 kB / 417.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.1131, allocations: 81.11 kB / 417.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1134, allocations: 270.5 kB / 417.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1135, allocations: 29.7 kB / 417.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1136, allocations: 199.9 kB / 417.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1137, allocations: 39.69 kB / 417.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.1138, allocations: 49.66 kB / 417.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1139, allocations: 338.7 kB / 418.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.1143, allocations: 108.1 kB / 418.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1147, allocations: 188.2 kB / 418.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007668/0.1155, allocations: 302.1 kB / 418.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1155, allocations: 4 kB / 418.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009098/0.1164, allocations: 358.8 kB / 419 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.1165, allocations: 33.7 kB / 419.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1165, allocations: 4 kB / 419.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1165, allocations: 4.344 kB / 419.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.1168, allocations: 71.88 kB / 419.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1169, allocations: 4 kB / 419.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.1172, allocations: 51.73 kB / 419.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.1172, allocations: 12 kB / 419.2 MB, free: 11.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.1174, allocations: 149.8 kB / 419.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.1174, allocations: 23.86 kB / 419.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.1175, allocations: 29.62 kB / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1175, allocations: 4 kB / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1175, allocations: 0 / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1175, allocations: 7.938 kB / 419.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.1178, allocations: 317.4 kB / 419.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1179, allocations: 0 / 419.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.1181, allocations: 47.95 kB / 419.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1181, allocations: 0 / 419.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1181, allocations: 4 kB / 419.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1182, allocations: 3.938 kB / 419.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1182, allocations: 4 kB / 419.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.1193, allocations: 368.8 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.1194, allocations: 104.9 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.1195, allocations: 4 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.1197, allocations: 32.03 kB / 420.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.1198, allocations: 19.97 kB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1198, allocations: 3.938 kB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.12, allocations: 186 kB / 420.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.12, allocations: 0 / 420.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1203, allocations: 67.89 kB / 420.5 MB, free: 9.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.1205, allocations: 111.2 kB / 420.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008518/0.1213, allocations: 290.1 kB / 420.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1214, allocations: 4.062 kB / 420.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.1217, allocations: 99.86 kB / 421 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.122, allocations: 44.47 kB / 421.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.1232, allocations: 0.5576 MB / 421.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1236, allocations: 0.7557 MB / 422.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.573e-05/0.1237, allocations: 23.44 kB / 422.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1237, allocations: 3.938 kB / 422.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Templates: time 0.005757/0.1295, allocations: 3.351 MB / 425.8 MB, free: 4.586 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.963694779085927]