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.001598/0.001598, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002005/0.002005, allocations: 226.3 kB / 23.01 MB, free: 5.039 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.433/1.433, allocations: 207.6 MB / 233.8 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] 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.2156/0.2156, allocations: 44.24 MB / 330.3 MB, free: 9.527 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: "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) [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.002474/0.002474, allocations: 71.91 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1229, allocations: 61.04 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003362/0.1263, allocations: 1.654 MB / 0.5178 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1275, allocations: 0.6048 MB / 0.5183 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.1277, allocations: 7.938 kB / 0.5184 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.1278, allocations: 15.86 kB / 0.5184 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.1279, allocations: 11.86 kB / 0.5184 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.1283, allocations: 99.75 kB / 0.5185 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1286, allocations: 107.8 kB / 0.5186 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1287, allocations: 23.97 kB / 0.5186 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1288, allocations: 59.78 kB / 0.5187 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.301e-05/0.1289, allocations: 39.83 kB / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.1289, allocations: 8 kB / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.129, allocations: 8 kB / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.129, allocations: 19.92 kB / 0.5187 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.1291, allocations: 43.73 kB / 0.5188 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1293, allocations: 87.58 kB / 0.5189 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1293, allocations: 0 / 0.5189 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1293, allocations: 0 / 0.5189 GB, free: 4.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1293, allocations: 0 / 0.5189 GB, free: 4.551 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.0006935/0.13, allocations: 350.8 kB / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.13, allocations: 12.03 kB / 0.5192 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.1301, allocations: 38.73 kB / 0.5192 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.1301, allocations: 12.89 kB / 0.5192 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1304, allocations: 138.4 kB / 0.5194 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1304, allocations: 8.375 kB / 0.5194 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1304, allocations: 8.375 kB / 0.5194 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.1307, allocations: 117.6 kB / 0.5195 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1307, allocations: 0 / 0.5195 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1307, allocations: 3.938 kB / 0.5195 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1308, allocations: 4 kB / 0.5195 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1309, allocations: 51.97 kB / 0.5196 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.1317, allocations: 355.6 kB / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.132, allocations: 98.52 kB / 0.52 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1321, allocations: 40.91 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.1321, allocations: 0 / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.1324, allocations: 99.3 kB / 0.5201 GB, free: 3.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1324, allocations: 0 / 0.5201 GB, free: 3.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004872/0.1329, allocations: 141.5 kB / 0.5203 GB, free: 2.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1329, allocations: 59.41 kB / 0.5203 GB, free: 2.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1331, allocations: 149.7 kB / 0.5205 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1332, allocations: 25.7 kB / 0.5205 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.1332, allocations: 104.1 kB / 0.5206 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1332, allocations: 15.86 kB / 0.5206 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.1333, allocations: 29.7 kB / 0.5206 GB, free: 2.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1334, allocations: 326.8 kB / 0.5209 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1336, allocations: 43.91 kB / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1337, allocations: 45.7 kB / 0.521 GB, free: 2.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1339, allocations: 77.67 kB / 0.5211 GB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1339, allocations: 0 / 0.5211 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002748/0.1342, allocations: 125.7 kB / 0.5212 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1342, allocations: 8.031 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1342, allocations: 3.938 kB / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.1342, allocations: 4 kB / 0.5212 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1343, allocations: 11.98 kB / 0.5213 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1343, allocations: 4.312 kB / 0.5213 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.1344, allocations: 20.02 kB / 0.5213 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1344, allocations: 4 kB / 0.5213 GB, free: 1.855 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 0.0001084/0.1345, allocations: 125.8 kB / 0.5214 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.1346, allocations: 11.89 kB / 0.5214 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.1346, allocations: 16.7 kB / 0.5214 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1346, allocations: 0 / 0.5214 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1346, allocations: 3.938 kB / 0.5214 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1346, allocations: 0 / 0.5214 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.1352, allocations: 369.5 kB / 0.5218 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1352, allocations: 0 / 0.5218 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.1352, allocations: 12 kB / 0.5218 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1353, allocations: 3.984 kB / 0.5218 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1353, allocations: 4 kB / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1353, allocations: 0 / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1353, allocations: 3.938 kB / 0.5218 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.1357, allocations: 251.3 kB / 0.522 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.1357, allocations: 11.92 kB / 0.5221 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1358, allocations: 4.062 kB / 0.5221 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1359, allocations: 19.97 kB / 0.5221 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.1359, allocations: 11.98 kB / 0.5221 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.136, allocations: 7.984 kB / 0.5221 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.136, allocations: 108 kB / 0.5222 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.136, allocations: 0 / 0.5222 GB, free: 0.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1363, allocations: 16 kB / 0.5222 GB, free: 0.8164 MB / 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 0.0007697/0.137, allocations: 0.7826 MB / 0.523 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.1374, allocations: 80.03 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1374, allocations: 0 / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.1375, allocations: 43.97 kB / 0.5231 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1378, allocations: 25.08 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.14, allocations: 1.659 MB / 0.5247 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1404, allocations: 0.7002 MB / 0.5254 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.122e-05/0.1404, allocations: 12.5 kB / 0.5254 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.1405, allocations: 31.42 kB / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1405, allocations: 0 / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.1718, allocations: 2.797 MB / 0.5282 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.19, allocations: 11.17 kB / 0.5282 GB, free: 10.54 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000995025 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.csv","/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: 14.341027708003821]