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.0009103/0.0009104, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.000435, allocations: 4 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1517, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002233/0.154, allocations: 1.289 MB / 484.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002829/0.1543, allocations: 71.72 kB / 484.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.1544, allocations: 0 / 484.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.967e-05/0.1545, allocations: 7.922 kB / 484.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.1545, allocations: 4 kB / 484.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.1547, allocations: 15.98 kB / 484.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.1548, allocations: 39.8 kB / 484.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1549, allocations: 8 kB / 484.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.155, allocations: 8 kB / 484.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.155, allocations: 15.86 kB / 484.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1551, allocations: 4 kB / 484.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.1551, allocations: 0 / 484.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.1551, allocations: 3.984 kB / 484.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.1552, allocations: 41.58 kB / 484.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.1553, allocations: 31.89 kB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1553, allocations: 0 / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1553, allocations: 0 / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1553, allocations: 0 / 484.6 MB, free: 2.602 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.0004716/0.1558, allocations: 347.7 kB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1558, allocations: 8.875 kB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1559, allocations: 8.844 kB / 485 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.1561, allocations: 180.3 kB / 485.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1561, allocations: 384 / 485.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1562, allocations: 4.375 kB / 485.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1564, allocations: 80.75 kB / 485.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1564, allocations: 192 / 485.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1564, allocations: 3.938 kB / 485.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1565, allocations: 3.938 kB / 485.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1566, allocations: 31.92 kB / 485.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.1572, allocations: 453.1 kB / 485.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1574, allocations: 46.5 kB / 485.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.1575, allocations: 20.86 kB / 485.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1575, allocations: 0 / 485.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1576, allocations: 30.56 kB / 485.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1576, allocations: 7.938 kB / 485.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006187/0.1582, allocations: 117.8 kB / 485.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.1583, allocations: 51.41 kB / 486 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1584, allocations: 113.8 kB / 486.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1584, allocations: 29.7 kB / 486.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.1585, allocations: 92.03 kB / 486.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.1585, allocations: 15.75 kB / 486.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.1586, allocations: 13.72 kB / 486.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1587, allocations: 326.8 kB / 486.6 MB, free: 432 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.1588, allocations: 15.98 kB / 486.6 MB, free: 416 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.1589, allocations: 43.42 kB / 486.6 MB, free: 360 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1591, allocations: 71.33 kB / 486.7 MB, free: 276 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1591, allocations: 4 kB / 486.7 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002387/0.1593, allocations: 85.55 kB / 486.8 MB, free: 180 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1594, allocations: 8 kB / 486.8 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1594, allocations: 0 / 486.8 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1594, allocations: 4.094 kB / 486.8 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.1595, allocations: 12 kB / 486.8 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1595, allocations: 3.984 kB / 486.8 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.1596, allocations: 4 kB / 486.8 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1596, allocations: 4 kB / 486.8 MB, free: 144 kB / 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 0.0001014/0.1597, allocations: 117.8 kB / 486.9 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.1598, allocations: 3.906 kB / 486.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.1598, allocations: 11.98 kB / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1598, allocations: 4 kB / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1598, allocations: 3.938 kB / 486.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1599, allocations: 0 / 486.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.1601, allocations: 169.6 kB / 487.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1601, allocations: 7.922 kB / 487.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1602, allocations: 12 kB / 487.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1602, allocations: 0 / 487.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1603, allocations: 0 / 487.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1603, allocations: 384 / 487.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1603, allocations: 0 / 487.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.1606, allocations: 191.5 kB / 487.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.1607, allocations: 81.02 kB / 487.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1607, allocations: 7.938 kB / 487.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.1608, allocations: 4.031 kB / 487.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.1609, allocations: 4.047 kB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.1609, allocations: 8 kB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.844e-05/0.1609, allocations: 91.2 kB / 487.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1609, allocations: 4 kB / 487.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.1613, allocations: 4 kB / 487.5 MB, free: 15.33 MB / 366.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.0001091/0.1614, allocations: 99.19 kB / 487.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1616, allocations: 44.05 kB / 487.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.1617, allocations: 0 / 487.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.1617, allocations: 19.98 kB / 487.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1621, allocations: 10.34 kB / 487.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.1626, allocations: 170.7 kB / 487.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1629, allocations: 0.6887 MB / 488.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.163, allocations: 0 / 488.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.163, allocations: 11.44 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1631, allocations: 3.938 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Templates: time 0.003673/0.1667, allocations: 427.9 kB / 489 MB, free: 13.82 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