Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2772/0.2772, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 72.16 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1611, allocations: 62.45 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002776/0.1639, allocations: 1.565 MB / 481.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002779/0.1642, allocations: 71.72 kB / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.1643, allocations: 0 / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.1644, allocations: 3.938 kB / 481.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.1645, allocations: 3.938 kB / 481.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1646, allocations: 23.91 kB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1648, allocations: 43.86 kB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1649, allocations: 11.98 kB / 481.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.165, allocations: 19.97 kB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.165, allocations: 11.88 kB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.165, allocations: 4 kB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.1651, allocations: 4 kB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.1651, allocations: 7.984 kB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.1651, allocations: 15.88 kB / 481.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.1652, allocations: 31.89 kB / 481.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1652, allocations: 0 / 481.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1653, allocations: 0 / 481.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1653, allocations: 0 / 481.8 MB, free: 3.438 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.0004685/0.1657, allocations: 351.7 kB / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1658, allocations: 12.03 kB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1658, allocations: 4.844 kB / 482.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.166, allocations: 184.2 kB / 482.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.166, allocations: 4.375 kB / 482.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1661, allocations: 8.312 kB / 482.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1662, allocations: 68.81 kB / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1663, allocations: 4.188 kB / 482.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1663, allocations: 3.938 kB / 482.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1663, allocations: 4 kB / 482.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.59e-05/0.1664, allocations: 23.92 kB / 482.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.1669, allocations: 445.2 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.167, allocations: 46.5 kB / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.1671, allocations: 12.86 kB / 483 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1671, allocations: 4.078 kB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.1671, allocations: 30.56 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1672, allocations: 4 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004683/0.1676, allocations: 109.4 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1677, allocations: 51.41 kB / 483.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.1678, allocations: 117.8 kB / 483.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1678, allocations: 29.7 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1678, allocations: 96.03 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.1679, allocations: 11.75 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1679, allocations: 29.7 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.168, allocations: 318.8 kB / 483.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.1681, allocations: 15.98 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.1681, allocations: 39.42 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1683, allocations: 59.36 kB / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1683, allocations: 0 / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001477/0.1684, allocations: 89.45 kB / 484 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1684, allocations: 4 kB / 484 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1684, allocations: 4.375 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1685, allocations: 0 / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.1685, allocations: 20.08 kB / 484 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1685, allocations: 0 / 484 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.1686, allocations: 4 kB / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1686, allocations: 4 kB / 484 MB, free: 1.004 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.1687, allocations: 121.7 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.1687, allocations: 4 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.1687, allocations: 11.89 kB / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1687, allocations: 3.938 kB / 484.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1688, allocations: 0 / 484.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1688, allocations: 4 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1689, allocations: 173.6 kB / 484.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1689, allocations: 0 / 484.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.169, allocations: 8 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.169, allocations: 3.984 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.169, allocations: 4 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.169, allocations: 0 / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.169, allocations: 0 / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1693, allocations: 183.4 kB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1693, allocations: 85.12 kB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1693, allocations: 0 / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.1694, allocations: 3.938 kB / 484.6 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.1694, allocations: 4.375 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1694, allocations: 0 / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.27e-05/0.1695, allocations: 95.2 kB / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1695, allocations: 0 / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.1697, allocations: 8 kB / 484.7 MB, free: 212 kB / 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 (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.797e-05/0.1698, allocations: 99.25 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.17, allocations: 47.91 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.17, allocations: 0 / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.17, allocations: 15.98 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1704, allocations: 10.5 kB / 484.9 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.1707, allocations: 154.4 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.171, allocations: 0.6846 MB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.171, allocations: 4 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.1711, allocations: 11.44 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1711, allocations: 3.938 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Templates: time 0.00277/0.1738, allocations: 451.7 kB / 486.2 MB, free: 14.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches