Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 109.2 kB / 20.45 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 222.5 kB / 23.76 MB, free: 4.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2044/0.2044, allocations: 44.23 MB / 331 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 71.89 kB / 468.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.103, allocations: 61.04 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002961/0.106, allocations: 1.639 MB / 0.519 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1071, allocations: 0.6203 MB / 0.5196 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.1071, allocations: 7.938 kB / 0.5196 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1072, allocations: 11.86 kB / 0.5196 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.1073, allocations: 15.81 kB / 0.5196 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.1076, allocations: 87.81 kB / 0.5197 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1078, allocations: 119.7 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1079, allocations: 27.97 kB / 0.5198 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.108, allocations: 55.83 kB / 0.5199 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.1081, allocations: 31.84 kB / 0.5199 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1081, allocations: 8 kB / 0.5199 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.1081, allocations: 8 kB / 0.5199 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.1082, allocations: 27.86 kB / 0.52 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.1082, allocations: 39.73 kB / 0.52 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1084, allocations: 87.62 kB / 0.5201 GB, free: 4.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1084, allocations: 0 / 0.5201 GB, free: 4.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1084, allocations: 0 / 0.5201 GB, free: 4.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1084, allocations: 0 / 0.5201 GB, free: 4.043 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006109/0.109, allocations: 346.8 kB / 0.5204 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.109, allocations: 16.02 kB / 0.5204 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1091, allocations: 8.891 kB / 0.5204 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1093, allocations: 146.3 kB / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1093, allocations: 12.36 kB / 0.5206 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1093, allocations: 12.38 kB / 0.5206 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1096, allocations: 101.9 kB / 0.5207 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1096, allocations: 0 / 0.5207 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1096, allocations: 8 kB / 0.5207 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1096, allocations: 0 / 0.5207 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1098, allocations: 55.95 kB / 0.5208 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.1105, allocations: 355.6 kB / 0.5211 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.1108, allocations: 102.5 kB / 0.5212 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1109, allocations: 36.92 kB / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.1109, allocations: 0 / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1112, allocations: 95.36 kB / 0.5213 GB, free: 2.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1112, allocations: 3.938 kB / 0.5213 GB, free: 2.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004506/0.1116, allocations: 149.5 kB / 0.5215 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1116, allocations: 55.34 kB / 0.5215 GB, free: 2.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1118, allocations: 149.8 kB / 0.5217 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1118, allocations: 33.64 kB / 0.5217 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.1119, allocations: 100.1 kB / 0.5218 GB, free: 2.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1119, allocations: 15.86 kB / 0.5218 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1119, allocations: 29.7 kB / 0.5218 GB, free: 2.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1121, allocations: 326.8 kB / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1122, allocations: 31.98 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.1123, allocations: 49.69 kB / 0.5222 GB, free: 1.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.1125, allocations: 81.61 kB / 0.5223 GB, free: 1.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1125, allocations: 0 / 0.5223 GB, free: 1.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002829/0.1128, allocations: 121.6 kB / 0.5224 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1128, allocations: 7.938 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1128, allocations: 0 / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1128, allocations: 4 kB / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.1129, allocations: 15.98 kB / 0.5224 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1129, allocations: 0 / 0.5224 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.033e-05/0.113, allocations: 20.02 kB / 0.5225 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.113, allocations: 4 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 9.779e-05/0.1131, allocations: 125.8 kB / 0.5226 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.1132, allocations: 11.89 kB / 0.5226 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.1132, allocations: 16.7 kB / 0.5226 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1132, allocations: 288 / 0.5226 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1132, allocations: 4 kB / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1132, allocations: 0 / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.1137, allocations: 369.4 kB / 0.523 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1137, allocations: 0 / 0.523 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.1138, allocations: 15.98 kB / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1138, allocations: 0 / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1138, allocations: 0 / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1138, allocations: 0 / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1138, allocations: 0 / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.1143, allocations: 259.6 kB / 0.5232 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.1143, allocations: 11.98 kB / 0.5232 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1143, allocations: 0 / 0.5232 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1145, allocations: 20.05 kB / 0.5233 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.1145, allocations: 19.91 kB / 0.5233 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1145, allocations: 7.984 kB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of sorting global known variables: time 8.743e-05/0.1146, allocations: 112 kB / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1146, allocations: 0 / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.1148, allocations: 16 kB / 0.5234 GB, free: 360 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.443e-05/0.1149, allocations: 95.25 kB / 0.5235 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.1152, allocations: 91.88 kB / 0.5236 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1152, allocations: 4 kB / 0.5236 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1153, allocations: 35.97 kB / 0.5236 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1156, allocations: 25.14 kB / 0.5236 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.1161, allocations: 244.7 kB / 0.5239 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1165, allocations: 0.7002 MB / 0.5246 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.1165, allocations: 15.42 kB / 0.5246 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1165, allocations: 4 kB / 0.5246 GB, free: 15.08 MB / 414.1 MB Notification: Performance of Templates: time 0.002961/0.1195, allocations: 1.353 MB / 0.5259 GB, free: 13.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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.637078187894076]