Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001346, 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.001324/0.001325, allocations: 202.9 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.561/1.561, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.4208/0.4208, allocations: 43.49 MB / 313.5 MB, free: 8.5 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.001382/0.001383, allocations: 70.55 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1471, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003153/0.1504, allocations: 1.604 MB / 441.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003105/0.1507, allocations: 55.8 kB / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1508, allocations: 0 / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.151, allocations: 11.92 kB / 441.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.1511, allocations: 4 kB / 441.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.1513, allocations: 23.92 kB / 441.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1514, allocations: 31.92 kB / 441.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1516, allocations: 15.97 kB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.1517, allocations: 15.92 kB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.1517, allocations: 15.88 kB / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1518, allocations: 0 / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.1518, allocations: 4 kB / 441.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.1518, allocations: 11.92 kB / 441.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.1519, allocations: 15.88 kB / 441.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.152, allocations: 36.11 kB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.152, allocations: 0 / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.152, allocations: 0 / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.152, allocations: 0 / 441.7 MB, free: 12.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007144/0.1528, allocations: 347.4 kB / 442 MB, free: 12.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.1528, allocations: 8.031 kB / 442 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1529, allocations: 4.938 kB / 442 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1531, allocations: 188.2 kB / 442.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1532, allocations: 4.375 kB / 442.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1532, allocations: 4.375 kB / 442.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1534, allocations: 68.81 kB / 442.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1535, allocations: 192 / 442.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1535, allocations: 7.938 kB / 442.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1535, allocations: 0 / 442.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1536, allocations: 31.92 kB / 442.3 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.1542, allocations: 453.1 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1543, allocations: 42.56 kB / 442.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.1544, allocations: 12.86 kB / 442.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1544, allocations: 0 / 442.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1544, allocations: 38.5 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.1544, allocations: 0 / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004561/0.1549, allocations: 105.5 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.155, allocations: 55.41 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.1551, allocations: 117.8 kB / 443.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1551, allocations: 25.7 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.1551, allocations: 95.97 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.1552, allocations: 19.8 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.1552, allocations: 17.72 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1553, allocations: 322.8 kB / 443.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.1554, allocations: 15.94 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.1554, allocations: 43.8 kB / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1555, allocations: 55.36 kB / 443.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1556, allocations: 0 / 443.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001492/0.1557, allocations: 85.61 kB / 443.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1557, allocations: 11.94 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1557, allocations: 3.984 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1558, allocations: 0 / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.1558, allocations: 12 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1558, allocations: 0 / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.1559, allocations: 4 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1559, allocations: 3.938 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.334e-05/0.156, allocations: 130.2 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.156, allocations: 7.906 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.1561, allocations: 11.89 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1561, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1561, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1561, allocations: 4 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1562, allocations: 173.6 kB / 444.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1563, allocations: 0 / 444.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.1563, allocations: 11.98 kB / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1563, allocations: 0 / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.1564, allocations: 4 kB / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1564, allocations: 0 / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1564, allocations: 0 / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1566, allocations: 183.3 kB / 444.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1566, allocations: 89.03 kB / 444.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1567, allocations: 0 / 444.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.1567, allocations: 64 / 444.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.1568, allocations: 8 kB / 444.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1568, allocations: 0 / 444.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.332e-05/0.1568, allocations: 91.27 kB / 444.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1568, allocations: 0 / 444.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1571, allocations: 4 kB / 444.5 MB, free: 9.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001115/0.1572, allocations: 107.2 kB / 444.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1574, allocations: 40.03 kB / 444.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1574, allocations: 0 / 444.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/0.1574, allocations: 19.98 kB / 444.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1578, allocations: 8.281 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.1583, allocations: 184.4 kB / 444.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1585, allocations: 0.6888 MB / 445.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.1586, allocations: 4 kB / 445.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.1586, allocations: 11.44 kB / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1586, allocations: 0 / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of Templates: time 0.002595/0.1612, allocations: 465 kB / 446 MB, free: 8.199 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches