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.0009185/0.0009185, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008885/0.0008885, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8402/0.8402, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 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.1313/0.1313, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.619e-05, allocations: 10.22 kB / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003086/0.003112, allocations: 1.608 MB / 408.4 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004286, allocations: 0.5735 MB / 409 MB, free: 40 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.004386, allocations: 4 kB / 409 MB, free: 36 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.004512, allocations: 11.86 kB / 409 MB, free: 24 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.004571, allocations: 11.88 kB / 409 MB, free: 12 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.004974, allocations: 99.56 kB / 409.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.005162, allocations: 111.7 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.005296, allocations: 27.92 kB / 409.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.005417, allocations: 63.81 kB / 409.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.005489, allocations: 31.89 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.005521, allocations: 8 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.005536, allocations: 12 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.005566, allocations: 19.92 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.005615, allocations: 23.92 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.005783, allocations: 95.67 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005786, allocations: 0 / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005787, allocations: 0 / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005792, allocations: 0 / 409.5 MB, free: 15.53 MB / 394.7 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.0006027/0.006394, allocations: 350.8 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.006434, allocations: 12.03 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.006475, allocations: 38.75 kB / 409.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.006512, allocations: 12.83 kB / 409.9 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.006714, allocations: 149.6 kB / 410.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.006729, allocations: 8.375 kB / 410.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.006748, allocations: 12.3 kB / 410.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.006929, allocations: 106.1 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006936, allocations: 192 / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.006947, allocations: 8.125 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.006951, allocations: 0 / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.641e-05/0.007047, allocations: 51.91 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.007497, allocations: 343.8 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.007685, allocations: 98.55 kB / 410.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.007744, allocations: 36.88 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.007754, allocations: 0 / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.007908, allocations: 107.3 kB / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.007909, allocations: 0 / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002751/0.008184, allocations: 137.6 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.008218, allocations: 51.41 kB / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.008312, allocations: 161.6 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.008327, allocations: 29.7 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.00837, allocations: 92.14 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.008392, allocations: 27.83 kB / 411.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.008425, allocations: 25.72 kB / 411.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.008506, allocations: 322.8 kB / 411.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.00857, allocations: 39.91 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.008641, allocations: 53.69 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.008751, allocations: 73.69 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.008754, allocations: 4.188 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001522/0.008906, allocations: 121.4 kB / 411.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.008918, allocations: 4 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.008922, allocations: 0 / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.008933, allocations: 11.92 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.008993, allocations: 16.03 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.008997, allocations: 320 / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.009046, allocations: 27.86 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.009053, allocations: 4 kB / 412 MB, free: 12.83 MB / 394.7 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 6.151e-05/0.009114, allocations: 113.8 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.009124, allocations: 7.953 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.009148, allocations: 20.77 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.00915, allocations: 3.938 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.009154, allocations: 7.938 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.009157, allocations: 4 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.009462, allocations: 349.5 kB / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.009464, allocations: 0 / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.00951, allocations: 11.94 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.009512, allocations: 4 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.009522, allocations: 7.984 kB / 412.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.009522, allocations: 0 / 412.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009523, allocations: 7.938 kB / 412.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.009772, allocations: 239.4 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.009786, allocations: 19.98 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.009799, allocations: 4 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.009866, allocations: 15.97 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.009905, allocations: 15.98 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.00991, allocations: 3.984 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.009959, allocations: 107.3 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009959, allocations: 0 / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.01011, allocations: 16 kB / 413 MB, free: 11.82 MB / 394.7 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.0004098/0.01052, allocations: 0.7787 MB / 413.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.01069, allocations: 87.94 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01069, allocations: 0 / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.01076, allocations: 39.97 kB / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01097, allocations: 20.2 kB / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.01224, allocations: 1.653 MB / 415.5 MB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.694e-05/0.01229, allocations: 89.44 kB / 415.6 MB, free: 9.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.01234, allocations: 8.484 kB / 415.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.01239, allocations: 28.5 kB / 415.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01239, allocations: 0 / 415.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.02736, allocations: 3.417 MB / 419.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/6.992, allocations: 3.984 kB / 419.1 MB, free: 5.539 MB / 394.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/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] "" Variables in the reference:time,integrator.y Variables in the result:time,integrator.y [Calling sys.exit(0), Time elapsed: 9.060723628848791]