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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 203.5 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 222.6 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3439/0.3439, allocations: 43.5 MB / 313.5 MB, free: 8.469 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 74.53 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1496, allocations: 57.79 MB / 439.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002299/0.1519, allocations: 0.8808 MB / 440.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.1521, allocations: 43.88 kB / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.1522, allocations: 0 / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.1524, allocations: 3.938 kB / 440.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.516e-05/0.1524, allocations: 11.88 kB / 440.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.1525, allocations: 23.92 kB / 440.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.243e-05/0.1526, allocations: 27.92 kB / 440.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1527, allocations: 23.98 kB / 440.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.1527, allocations: 11.92 kB / 440.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.1528, allocations: 15.92 kB / 440.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1528, allocations: 0 / 440.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.1528, allocations: 4 kB / 440.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.1528, allocations: 7.938 kB / 440.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.1529, allocations: 11.94 kB / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.174e-05/0.153, allocations: 44.03 kB / 440.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.153, allocations: 0 / 440.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.153, allocations: 0 / 440.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.153, allocations: 0 / 440.9 MB, free: 13.76 MB / 382.1 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.0003912/0.1534, allocations: 351.4 kB / 441.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1534, allocations: 8.031 kB / 441.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.1535, allocations: 4.938 kB / 441.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.1536, allocations: 184.2 kB / 441.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1536, allocations: 4.375 kB / 441.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1537, allocations: 4.375 kB / 441.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1538, allocations: 50.25 kB / 441.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1538, allocations: 192 / 441.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1538, allocations: 3.938 kB / 441.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1538, allocations: 11.98 kB / 441.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.1539, allocations: 15.98 kB / 441.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.1543, allocations: 288.7 kB / 441.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.1544, allocations: 22.56 kB / 441.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.1544, allocations: 12.92 kB / 441.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1544, allocations: 4 kB / 441.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.92e-05/0.1545, allocations: 55.34 kB / 441.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1546, allocations: 0 / 441.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.1547, allocations: 49.59 kB / 442 MB, free: 12.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1548, allocations: 51.41 kB / 442 MB, free: 12.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.1549, allocations: 118.1 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1549, allocations: 25.7 kB / 442.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.1549, allocations: 96.12 kB / 442.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.155, allocations: 4 kB / 442.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.155, allocations: 25.66 kB / 442.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1551, allocations: 318.8 kB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.1552, allocations: 15.86 kB / 442.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.1552, allocations: 17.72 kB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.1552, allocations: 21.72 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1552, allocations: 8 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.5e-05/0.1553, allocations: 57.53 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1554, allocations: 8 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1554, allocations: 0 / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1554, allocations: 0 / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.089e-05/0.1554, allocations: 4 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1554, allocations: 0 / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.1555, allocations: 11.92 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.1555, allocations: 3.938 kB / 442.7 MB, free: 11.7 MB / 382.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: 2 (greaterEqualThreshold.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.1556, allocations: 121.8 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.1556, allocations: 3.906 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.1556, allocations: 7.906 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1556, allocations: 0 / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1556, allocations: 0 / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1556, allocations: 3.938 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1559, allocations: 302.9 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1559, allocations: 0 / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.1559, allocations: 4 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1559, allocations: 4 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.156, allocations: 0 / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.156, allocations: 7.938 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.156, allocations: 0 / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1561, allocations: 155.4 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1562, allocations: 81.11 kB / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1562, allocations: 0 / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.1563, allocations: 8.031 kB / 443.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.1563, allocations: 7.984 kB / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1563, allocations: 0 / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.302e-05/0.1564, allocations: 95.22 kB / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1564, allocations: 0 / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.1566, allocations: 4 kB / 443.5 MB, free: 10.81 MB / 382.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.619e-05/0.1567, allocations: 103.2 kB / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.858e-05/0.1568, allocations: 19.94 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1568, allocations: 8 kB / 443.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.1568, allocations: 4 kB / 443.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.1571, allocations: 15.98 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.1574, allocations: 143.8 kB / 443.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1577, allocations: 0.6887 MB / 444.5 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.046e-05/0.1578, allocations: 4 kB / 444.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.1578, allocations: 11.44 kB / 444.5 MB, free: 9.754 MB / 382.1 MB Notification: Performance of SimCode: time 1.824e-06/0.1578, allocations: 0 / 444.5 MB, free: 9.754 MB / 382.1 MB Notification: Performance of Templates: time 0.002458/0.1603, allocations: 481.2 kB / 445 MB, free: 9.285 MB / 382.1 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