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.00149/0.00149, allocations: 181.1 kB / 15.76 MB, free: 6.367 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.642/1.642, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008868/0.0008866, allocations: 82.83 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2136/0.2136, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4956, allocations: 86.45 MB / 0.5632 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4959, allocations: 63.97 kB / 0.5632 GB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00865/0.5046, allocations: 2.913 MB / 0.5661 GB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5046, allocations: 0 / 0.5661 GB, free: 10.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.5046, allocations: 8 kB / 0.5661 GB, free: 10.8 MB / 378.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.0006397/0.5053, allocations: 434 kB / 0.5665 GB, free: 10.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5053, allocations: 8.031 kB / 0.5665 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.5054, allocations: 11.91 kB / 0.5665 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.5057, allocations: 209.6 kB / 0.5667 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.5057, allocations: 6.75 kB / 0.5667 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5057, allocations: 11.5 kB / 0.5667 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.506, allocations: 105.1 kB / 0.5668 GB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.506, allocations: 4 kB / 0.5668 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.5061, allocations: 7.422 kB / 0.5668 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5061, allocations: 7.984 kB / 0.5668 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.5062, allocations: 51.16 kB / 0.5669 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.5068, allocations: 386.8 kB / 0.5673 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.5072, allocations: 116.8 kB / 0.5674 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.5072, allocations: 4 kB / 0.5674 GB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.5075, allocations: 109.8 kB / 0.5675 GB, free: 9.305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.5075, allocations: 3.938 kB / 0.5675 GB, free: 9.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000432/0.508, allocations: 147.4 kB / 0.5676 GB, free: 9.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.508, allocations: 59.39 kB / 0.5677 GB, free: 9.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5081, allocations: 135.5 kB / 0.5678 GB, free: 8.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5081, allocations: 28.27 kB / 0.5678 GB, free: 8.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.5082, allocations: 101.5 kB / 0.5679 GB, free: 8.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.5082, allocations: 15.06 kB / 0.568 GB, free: 8.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.5082, allocations: 3.312 kB / 0.568 GB, free: 8.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5084, allocations: 326.2 kB / 0.5683 GB, free: 8.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.5085, allocations: 42.09 kB / 0.5683 GB, free: 8.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.5086, allocations: 45.39 kB / 0.5684 GB, free: 8.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.5088, allocations: 42.22 kB / 0.5684 GB, free: 8.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5088, allocations: 3.938 kB / 0.5684 GB, free: 8.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002843/0.5091, allocations: 132.4 kB / 0.5685 GB, free: 8.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5091, allocations: 4 kB / 0.5685 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5091, allocations: 4 kB / 0.5685 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5091, allocations: 3.953 kB / 0.5685 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.5092, allocations: 20.92 kB / 0.5686 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5092, allocations: 0.625 kB / 0.5686 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.5093, allocations: 25.8 kB / 0.5686 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.5093, allocations: 0.5625 kB / 0.5686 GB, free: 8.211 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.679e-05/0.5094, allocations: 128.4 kB / 0.5687 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.5095, allocations: 7.906 kB / 0.5687 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.5095, allocations: 15.58 kB / 0.5687 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5095, allocations: 8.234 kB / 0.5687 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5095, allocations: 0 / 0.5687 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5095, allocations: 0 / 0.5687 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.51, allocations: 409.8 kB / 0.5691 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.51, allocations: 0 / 0.5691 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.5101, allocations: 15.98 kB / 0.5691 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5101, allocations: 7.953 kB / 0.5691 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5102, allocations: 3.375 kB / 0.5691 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5102, allocations: 0 / 0.5691 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5102, allocations: 3.984 kB / 0.5692 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.5106, allocations: 263 kB / 0.5694 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.5107, allocations: 85.05 kB / 0.5695 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.5107, allocations: 3.953 kB / 0.5695 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.5108, allocations: 28.03 kB / 0.5695 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.5109, allocations: 15.42 kB / 0.5695 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.5109, allocations: 0 / 0.5695 GB, free: 7.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.079e-05/0.511, allocations: 115.8 kB / 0.5696 GB, free: 7.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.511, allocations: 0 / 0.5696 GB, free: 7.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.5112, allocations: 16 kB / 0.5697 GB, free: 7.09 MB / 378.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) * 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 (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.0001212/0.5113, allocations: 103 kB / 0.5698 GB, free: 6.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.5116, allocations: 91 kB / 0.5698 GB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5116, allocations: 4.062 kB / 0.5698 GB, free: 6.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.5118, allocations: 47.23 kB / 0.5699 GB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.512, allocations: 18.33 kB / 0.5699 GB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.5125, allocations: 240.1 kB / 0.5701 GB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.5128, allocations: 0.712 MB / 0.5708 GB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.5129, allocations: 8.562 kB / 0.5708 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.5129, allocations: 11.44 kB / 0.5708 GB, free: 5.844 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5129, allocations: 0 / 0.5708 GB, free: 5.844 MB / 378.7 MB Notification: Performance of Templates: time 0.003117/0.516, allocations: 1.021 MB / 0.5718 GB, free: 4.84 MB / 378.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