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.0011/0.0011, allocations: 101 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 203.4 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1596, allocations: 63.47 MB / 481.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002019/0.1617, allocations: 1.265 MB / 482.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.1619, allocations: 63.83 kB / 482.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.162, allocations: 0 / 482.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.162, allocations: 0 / 482.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.1621, allocations: 7.922 kB / 482.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.1623, allocations: 15.98 kB / 482.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1624, allocations: 23.97 kB / 482.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1625, allocations: 12 kB / 482.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.1625, allocations: 7.922 kB / 482.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.1626, allocations: 11.94 kB / 482.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1627, allocations: 4 kB / 482.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.1627, allocations: 3.938 kB / 482.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1627, allocations: 0 / 482.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.1627, allocations: 37.64 kB / 482.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.205e-05/0.1628, allocations: 19.94 kB / 482.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1629, allocations: 4 kB / 482.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1629, allocations: 3.938 kB / 482.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1629, allocations: 0 / 482.9 MB, free: 3.898 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.0005504/0.1634, allocations: 347.5 kB / 483.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.1635, allocations: 8.031 kB / 483.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.1635, allocations: 7.906 kB / 483.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1638, allocations: 179 kB / 483.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1638, allocations: 4 kB / 483.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1639, allocations: 7.938 kB / 483.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1641, allocations: 72.25 kB / 483.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1641, allocations: 0 / 483.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1641, allocations: 0 / 483.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1642, allocations: 4 kB / 483.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1643, allocations: 31.92 kB / 483.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.165, allocations: 449.2 kB / 484 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1653, allocations: 50.5 kB / 484 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1653, allocations: 0 / 484 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1653, allocations: 34.56 kB / 484 MB, free: 2.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.1653, allocations: 0 / 484 MB, free: 2.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006255/0.166, allocations: 121.6 kB / 484.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.166, allocations: 55.36 kB / 484.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1662, allocations: 113.9 kB / 484.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1662, allocations: 25.7 kB / 484.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.1663, allocations: 96.06 kB / 484.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1663, allocations: 11.81 kB / 484.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1664, allocations: 0 / 484.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1666, allocations: 318.8 kB / 484.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.1666, allocations: 19.98 kB / 484.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.1667, allocations: 39.8 kB / 484.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.1668, allocations: 27.92 kB / 484.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1668, allocations: 4 kB / 484.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001927/0.167, allocations: 85.84 kB / 484.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.167, allocations: 11.94 kB / 484.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1671, allocations: 0 / 484.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1671, allocations: 0 / 484.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.1672, allocations: 12 kB / 485 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1672, allocations: 8.031 kB / 485 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.1672, allocations: 11.94 kB / 485 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1673, allocations: 4.047 kB / 485 MB, free: 1.535 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.0001353/0.1674, allocations: 121.8 kB / 485.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1674, allocations: 3.906 kB / 485.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.1675, allocations: 11.91 kB / 485.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1675, allocations: 0 / 485.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1675, allocations: 0 / 485.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1675, allocations: 0 / 485.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.1677, allocations: 173.6 kB / 485.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1677, allocations: 0 / 485.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.1678, allocations: 15.98 kB / 485.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1678, allocations: 0 / 485.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1679, allocations: 0 / 485.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1679, allocations: 0 / 485.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1679, allocations: 0 / 485.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.1682, allocations: 191.4 kB / 485.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.1683, allocations: 85.05 kB / 485.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1683, allocations: 0 / 485.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.1684, allocations: 4 kB / 485.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.1685, allocations: 0 / 485.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1685, allocations: 3.984 kB / 485.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.263e-05/0.1685, allocations: 87.28 kB / 485.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1686, allocations: 4.062 kB / 485.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1688, allocations: 8 kB / 485.7 MB, free: 0.7422 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.0001761/0.169, allocations: 91.78 kB / 485.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1692, allocations: 43.91 kB / 485.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1692, allocations: 0 / 485.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.1692, allocations: 24.45 kB / 485.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1696, allocations: 11.95 kB / 485.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.1701, allocations: 170.6 kB / 486 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1704, allocations: 0.6926 MB / 486.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.263e-05/0.1705, allocations: 4.188 kB / 486.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1705, allocations: 11.44 kB / 486.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1705, allocations: 0 / 486.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.002765/0.1733, allocations: 445.2 kB / 487.2 MB, free: 15.2 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","../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches