Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 94.5 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 176.5 kB / 17.88 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 44.25 MB / 337.3 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002132/0.1632, allocations: 1.242 MB / 472.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000225/0.1634, allocations: 59.83 kB / 472.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.1635, allocations: 0 / 472.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.1636, allocations: 7.922 kB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.572e-05/0.1637, allocations: 7.938 kB / 472.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1638, allocations: 15.98 kB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1639, allocations: 27.92 kB / 473 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.164, allocations: 15.92 kB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.1641, allocations: 15.92 kB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.1641, allocations: 7.938 kB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1642, allocations: 0 / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.1642, allocations: 0 / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.1642, allocations: 11.92 kB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.1642, allocations: 37.64 kB / 473 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.924e-05/0.1643, allocations: 24.23 kB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1643, allocations: 4 kB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1643, allocations: 0 / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1643, allocations: 0 / 473.1 MB, free: 12.21 MB / 350.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.0004593/0.1648, allocations: 343.2 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1649, allocations: 8.031 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.1649, allocations: 3.906 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.1651, allocations: 178.9 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1651, allocations: 4 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1652, allocations: 8 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1653, allocations: 80.19 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1654, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1654, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1654, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.1655, allocations: 31.92 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/0.1661, allocations: 449.2 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1664, allocations: 46.5 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.1664, allocations: 24.94 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1664, allocations: 0 / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1665, allocations: 30.56 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1665, allocations: 0 / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004768/0.167, allocations: 117.5 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.167, allocations: 55.41 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1672, allocations: 113.9 kB / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1672, allocations: 29.7 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.1673, allocations: 88.08 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.1673, allocations: 19.8 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.1673, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1674, allocations: 322.7 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.1675, allocations: 19.98 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.1676, allocations: 43.36 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.1677, allocations: 20.38 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1677, allocations: 0 / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001533/0.1678, allocations: 89.52 kB / 475.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1679, allocations: 4 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1679, allocations: 8.031 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1679, allocations: 4 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.168, allocations: 15.98 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.168, allocations: 3.938 kB / 475.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.168, allocations: 4 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.168, allocations: 0 / 475.2 MB, free: 9.836 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.1681, allocations: 118.7 kB / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.1682, allocations: 11.89 kB / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.1682, allocations: 15.89 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1682, allocations: 0 / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1682, allocations: 4 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1682, allocations: 4 kB / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.1684, allocations: 169.6 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1684, allocations: 0 / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.1685, allocations: 11.98 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1685, allocations: 0 / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1685, allocations: 4 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1685, allocations: 0 / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1685, allocations: 4 kB / 475.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1688, allocations: 179.5 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.1688, allocations: 84.97 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.1688, allocations: 8.016 kB / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.1689, allocations: 64 / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.169, allocations: 8 kB / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.169, allocations: 0 / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.169, allocations: 91.27 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.169, allocations: 0 / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.1692, allocations: 8 kB / 475.9 MB, free: 9.035 MB / 350.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 (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.000107/0.1694, allocations: 91.25 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1695, allocations: 51.91 kB / 476 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1695, allocations: 0 / 476 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.1696, allocations: 16 kB / 476 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1699, allocations: 18.44 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.1704, allocations: 176.9 kB / 476.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1707, allocations: 0.6887 MB / 476.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.1708, allocations: 4.188 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1708, allocations: 7.438 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1708, allocations: 0 / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of Templates: time 0.003012/0.1738, allocations: 453.2 kB / 477.4 MB, free: 7.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches