Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 184.8 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.464/1.464, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008587/0.0008586, allocations: 94.86 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.1913/0.1913, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 58.88 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.5173, allocations: 84.89 MB / 0.5616 GB, free: 14.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.5175, allocations: 63.66 kB / 0.5617 GB, free: 14.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002508/0.5201, allocations: 0.9859 MB / 0.5627 GB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5201, allocations: 0 / 0.5627 GB, free: 13.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.5201, allocations: 4 kB / 0.5627 GB, free: 13.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000311/0.5204, allocations: 341.3 kB / 0.563 GB, free: 13.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5205, allocations: 8.031 kB / 0.563 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.5205, allocations: 7.938 kB / 0.563 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.5207, allocations: 186.5 kB / 0.5632 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5207, allocations: 11.98 kB / 0.5632 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.5208, allocations: 0 / 0.5632 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.5209, allocations: 50.19 kB / 0.5633 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5209, allocations: 0 / 0.5633 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.5209, allocations: 0 / 0.5633 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.521, allocations: 0 / 0.5633 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.521, allocations: 18.3 kB / 0.5633 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.5215, allocations: 296.2 kB / 0.5636 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.5216, allocations: 19.56 kB / 0.5636 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.5216, allocations: 4.062 kB / 0.5636 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.5217, allocations: 54.28 kB / 0.5636 GB, free: 12.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.5218, allocations: 0 / 0.5636 GB, free: 12.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001457/0.5219, allocations: 53.14 kB / 0.5637 GB, free: 12.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5219, allocations: 55.41 kB / 0.5637 GB, free: 12.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.522, allocations: 107.5 kB / 0.5638 GB, free: 12.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.5221, allocations: 25.7 kB / 0.5639 GB, free: 12.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.5221, allocations: 97.8 kB / 0.564 GB, free: 12.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.5221, allocations: 11.97 kB / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.5221, allocations: 0 / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5223, allocations: 318.6 kB / 0.5643 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.5223, allocations: 4 kB / 0.5643 GB, free: 12.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.5223, allocations: 25.03 kB / 0.5643 GB, free: 12.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.5224, allocations: 11.23 kB / 0.5643 GB, free: 12.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5224, allocations: 0 / 0.5643 GB, free: 12.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.517e-05/0.5224, allocations: 47.33 kB / 0.5644 GB, free: 12.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5225, allocations: 7.984 kB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5225, allocations: 7.938 kB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5225, allocations: 0 / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.541e-05/0.5225, allocations: 6.375 kB / 0.5644 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5226, allocations: 3.953 kB / 0.5644 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.5226, allocations: 10.81 kB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.5226, allocations: 4 kB / 0.5644 GB, free: 12.07 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: 2 ($whenCondition1,greaterEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.931e-05/0.5227, allocations: 117 kB / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-06/0.5227, allocations: 0 / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.5227, allocations: 14.78 kB / 0.5645 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.5227, allocations: 4 kB / 0.5645 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5228, allocations: 0 / 0.5645 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5228, allocations: 7.938 kB / 0.5645 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.5231, allocations: 299.9 kB / 0.5648 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5231, allocations: 0 / 0.5648 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.5231, allocations: 3.984 kB / 0.5648 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.5231, allocations: 0 / 0.5648 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5231, allocations: 0 / 0.5648 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5232, allocations: 7.953 kB / 0.5648 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5232, allocations: 0 / 0.5648 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.5233, allocations: 153.4 kB / 0.565 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.5234, allocations: 85.83 kB / 0.5651 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.5234, allocations: 0 / 0.5651 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.5235, allocations: 8.234 kB / 0.5651 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.5235, allocations: 3.953 kB / 0.5651 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.5235, allocations: 3.938 kB / 0.5651 GB, free: 11.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.5236, allocations: 94.7 kB / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5236, allocations: 0 / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.5238, allocations: 7.562 kB / 0.5652 GB, free: 11.2 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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000131/0.5239, allocations: 100.1 kB / 0.5653 GB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.524, allocations: 15.42 kB / 0.5653 GB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.524, allocations: 0 / 0.5653 GB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.524, allocations: 15.5 kB / 0.5653 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.5242, allocations: 6.656 kB / 0.5653 GB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.5246, allocations: 148.9 kB / 0.5654 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.5249, allocations: 0.6926 MB / 0.5661 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.5249, allocations: 7.984 kB / 0.5661 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.5249, allocations: 7.438 kB / 0.5661 GB, free: 10.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5249, allocations: 0 / 0.5661 GB, free: 10.16 MB / 378.7 MB Notification: Performance of Templates: time 0.002413/0.5273, allocations: 466.3 kB / 0.5666 GB, free: 9.723 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches