Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 108.2 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.27 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1078, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002868/0.1107, allocations: 1.627 MB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.1116, allocations: 0.5532 MB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.1117, allocations: 0 / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1118, allocations: 11.86 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.618e-05/0.1119, allocations: 19.86 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1122, allocations: 87.75 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1124, allocations: 115.7 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1125, allocations: 27.98 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.1126, allocations: 51.84 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.1126, allocations: 39.77 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.1127, allocations: 8 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.1127, allocations: 8 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.1127, allocations: 27.91 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.1128, allocations: 35.8 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1129, allocations: 91.58 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1129, allocations: 0 / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1129, allocations: 4 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1129, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.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.0006009/0.1135, allocations: 407.2 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1136, allocations: 8.031 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.1136, allocations: 8.844 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1139, allocations: 221.6 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1139, allocations: 8.375 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1139, allocations: 8.312 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.1142, allocations: 102 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1142, allocations: 3.938 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1142, allocations: 4 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1142, allocations: 3.938 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1144, allocations: 51.97 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.1151, allocations: 388.4 kB / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.1154, allocations: 98.52 kB / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1155, allocations: 40.91 kB / 474.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1156, allocations: 4 kB / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.1158, allocations: 95.3 kB / 474.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.1158, allocations: 0 / 474.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004611/0.1163, allocations: 145.5 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1163, allocations: 55.34 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1164, allocations: 149.8 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1165, allocations: 33.69 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.1165, allocations: 100 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1166, allocations: 15.8 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1166, allocations: 29.66 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1167, allocations: 322.8 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1168, allocations: 35.97 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.117, allocations: 49.7 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.1172, allocations: 77.61 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1172, allocations: 0 / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002792/0.1175, allocations: 125.7 kB / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1175, allocations: 7.938 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1175, allocations: 4.094 kB / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1175, allocations: 3.938 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.1176, allocations: 15.98 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1177, allocations: 0 / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.1178, allocations: 24 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1178, allocations: 4 kB / 476 MB, free: 8.102 MB / 350.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,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$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 8.845e-05/0.1179, allocations: 121.8 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.1179, allocations: 11.84 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.1179, allocations: 16.66 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1179, allocations: 0 / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1179, allocations: 3.938 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.118, allocations: 4 kB / 476.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.1184, allocations: 390.4 kB / 476.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1185, allocations: 8 kB / 476.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.1185, allocations: 11.98 kB / 476.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1186, allocations: 0 / 476.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1186, allocations: 4 kB / 476.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1186, allocations: 7.938 kB / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1186, allocations: 0 / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.119, allocations: 255.7 kB / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.1191, allocations: 85.05 kB / 476.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1191, allocations: 3.984 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1193, allocations: 15.98 kB / 476.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1193, allocations: 11.98 kB / 476.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1193, allocations: 4 kB / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.34e-05/0.1194, allocations: 116.9 kB / 477 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1194, allocations: 0 / 477 MB, free: 6.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1197, allocations: 12 kB / 477 MB, free: 6.941 MB / 350.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,booleanPulse.pulseStart,change.u) * 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 9.302e-05/0.1198, allocations: 103.2 kB / 477.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1201, allocations: 87.86 kB / 477.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1201, allocations: 0 / 477.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1202, allocations: 47.98 kB / 477.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1205, allocations: 22.88 kB / 477.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.121, allocations: 223.5 kB / 477.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1213, allocations: 0.7079 MB / 478.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.972e-05/0.1213, allocations: 4.562 kB / 478.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1213, allocations: 15.44 kB / 478.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1213, allocations: 0 / 478.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of Templates: time 0.003479/0.1248, allocations: 1.25 MB / 479.5 MB, free: 4.441 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches