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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008986/0.0008986, allocations: 183.6 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008844/0.0008844, allocations: 88.58 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3542/0.3542, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.553e-05, allocations: 0 / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 58.85 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3877/0.5104, allocations: 86.36 MB / 0.5571 GB, free: 17.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.5106, allocations: 62.05 kB / 0.5572 GB, free: 17.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007969/0.5186, allocations: 2.905 MB / 0.56 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5187, allocations: 0 / 0.56 GB, free: 15.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5187, allocations: 0 / 0.56 GB, free: 15.62 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.0005508/0.5192, allocations: 421.9 kB / 0.5604 GB, free: 15.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5193, allocations: 8.031 kB / 0.5604 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.5193, allocations: 19.34 kB / 0.5605 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.5196, allocations: 205.2 kB / 0.5607 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5196, allocations: 4 kB / 0.5607 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.5196, allocations: 7.375 kB / 0.5607 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.5198, allocations: 87.02 kB / 0.5607 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5198, allocations: 0 / 0.5607 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.5198, allocations: 4.812 kB / 0.5608 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5199, allocations: 5.375 kB / 0.5608 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.295e-05/0.5199, allocations: 29.94 kB / 0.5608 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.5205, allocations: 386.5 kB / 0.5612 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.093e-05/0.5206, allocations: 52.55 kB / 0.5612 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.5206, allocations: 20.64 kB / 0.5612 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.5206, allocations: 0 / 0.5612 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.5208, allocations: 82.48 kB / 0.5613 GB, free: 14.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.5208, allocations: 0 / 0.5613 GB, free: 14.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001692/0.5209, allocations: 80.08 kB / 0.5614 GB, free: 14.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.521, allocations: 52.77 kB / 0.5614 GB, free: 14.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.5211, allocations: 132 kB / 0.5616 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.5211, allocations: 25.7 kB / 0.5616 GB, free: 14.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.5211, allocations: 107.7 kB / 0.5617 GB, free: 13.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.5212, allocations: 17.25 kB / 0.5617 GB, free: 13.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.5212, allocations: 0 / 0.5617 GB, free: 13.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.5212, allocations: 322.6 kB / 0.562 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.5213, allocations: 23.06 kB / 0.562 GB, free: 13.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.5213, allocations: 38.31 kB / 0.5621 GB, free: 13.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.5214, allocations: 14 kB / 0.5621 GB, free: 13.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5214, allocations: 4 kB / 0.5621 GB, free: 13.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001064/0.5215, allocations: 83.16 kB / 0.5622 GB, free: 13.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5215, allocations: 10.12 kB / 0.5622 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5215, allocations: 3.953 kB / 0.5622 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5215, allocations: 0 / 0.5622 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.5216, allocations: 19.12 kB / 0.5622 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5217, allocations: 5.312 kB / 0.5622 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.5217, allocations: 22.7 kB / 0.5622 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.5218, allocations: 4 kB / 0.5622 GB, free: 13.48 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,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.5218, allocations: 107 kB / 0.5623 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.5218, allocations: 19.81 kB / 0.5623 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.5219, allocations: 13.02 kB / 0.5624 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5219, allocations: 3.953 kB / 0.5624 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5219, allocations: 4 kB / 0.5624 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5219, allocations: 1.547 kB / 0.5624 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.5222, allocations: 351.9 kB / 0.5627 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5222, allocations: 2.438 kB / 0.5627 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.5223, allocations: 18.81 kB / 0.5627 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5223, allocations: 7.891 kB / 0.5627 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.5223, allocations: 0 / 0.5627 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.5223, allocations: 5.312 kB / 0.5627 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5223, allocations: 0 / 0.5627 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.5225, allocations: 192.2 kB / 0.5629 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.5225, allocations: 84.27 kB / 0.563 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.5226, allocations: 10.94 kB / 0.563 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.5227, allocations: 26.16 kB / 0.563 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.5228, allocations: 18.16 kB / 0.5631 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.5228, allocations: 7.438 kB / 0.5631 GB, free: 12.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.5228, allocations: 113.1 kB / 0.5632 GB, free: 12.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5228, allocations: 0 / 0.5632 GB, free: 12.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.523, allocations: 16 kB / 0.5632 GB, free: 12.55 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 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.5232, allocations: 102.5 kB / 0.5633 GB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.5233, allocations: 59.44 kB / 0.5633 GB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5233, allocations: 0 / 0.5633 GB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.5234, allocations: 26.84 kB / 0.5634 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.5236, allocations: 17.02 kB / 0.5634 GB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.5239, allocations: 136.5 kB / 0.5635 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.524, allocations: 0.7134 MB / 0.5642 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.329e-05/0.5241, allocations: 8.812 kB / 0.5642 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.5241, allocations: 11.44 kB / 0.5642 GB, free: 11.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5241, allocations: 0 / 0.5642 GB, free: 11.5 MB / 394.7 MB Notification: Performance of Templates: time 0.003028/0.5272, allocations: 1.028 MB / 0.5652 GB, free: 10.91 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches