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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 117.2 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 210.6 kB / 21.41 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 251.7 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.18 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 81.75 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1585, allocations: 62.45 MB / 0.5397 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003135/0.1616, allocations: 1.558 MB / 0.5412 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.162, allocations: 75.72 kB / 0.5413 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.1621, allocations: 0 / 0.5413 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1622, allocations: 7.875 kB / 0.5413 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.1623, allocations: 7.938 kB / 0.5413 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.1624, allocations: 27.91 kB / 0.5413 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1626, allocations: 35.86 kB / 0.5413 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1627, allocations: 7.984 kB / 0.5414 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.1628, allocations: 19.92 kB / 0.5414 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.1628, allocations: 11.94 kB / 0.5414 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1629, allocations: 0 / 0.5414 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.1629, allocations: 4 kB / 0.5414 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.1629, allocations: 11.98 kB / 0.5414 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1629, allocations: 15.88 kB / 0.5414 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1631, allocations: 39.77 kB / 0.5415 GB, free: 2.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1631, allocations: 0 / 0.5415 GB, free: 2.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1631, allocations: 0 / 0.5415 GB, free: 2.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1631, allocations: 4 kB / 0.5415 GB, free: 2.523 MB / 398.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.0005688/0.1637, allocations: 347.3 kB / 0.5418 GB, free: 2.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1637, allocations: 8.031 kB / 0.5418 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.1638, allocations: 8.891 kB / 0.5418 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1641, allocations: 188.2 kB / 0.542 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1641, allocations: 4.375 kB / 0.542 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1641, allocations: 4.375 kB / 0.542 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1643, allocations: 64.83 kB / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1643, allocations: 192 / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1644, allocations: 11.92 kB / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.1644, allocations: 0 / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.1645, allocations: 31.92 kB / 0.5421 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.165, allocations: 449.1 kB / 0.5425 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1652, allocations: 46.55 kB / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.1653, allocations: 16.94 kB / 0.5426 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.1653, allocations: 0 / 0.5426 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1653, allocations: 34.56 kB / 0.5426 GB, free: 1.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1653, allocations: 0 / 0.5426 GB, free: 1.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000512/0.1659, allocations: 105.5 kB / 0.5427 GB, free: 1.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.1659, allocations: 63.41 kB / 0.5428 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.166, allocations: 117.7 kB / 0.5429 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1661, allocations: 25.7 kB / 0.5429 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.1662, allocations: 88.09 kB / 0.543 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1662, allocations: 19.89 kB / 0.543 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1662, allocations: 17.72 kB / 0.543 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1664, allocations: 326.8 kB / 0.5433 GB, free: 360 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.1664, allocations: 11.94 kB / 0.5434 GB, free: 348 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.1665, allocations: 47.36 kB / 0.5434 GB, free: 288 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1666, allocations: 63.36 kB / 0.5435 GB, free: 212 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1667, allocations: 0 / 0.5435 GB, free: 212 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001829/0.1668, allocations: 89.56 kB / 0.5436 GB, free: 116 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1669, allocations: 4 kB / 0.5436 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1669, allocations: 0 / 0.5436 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1669, allocations: 7.984 kB / 0.5436 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.167, allocations: 8 kB / 0.5436 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.167, allocations: 0 / 0.5436 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.167, allocations: 4 kB / 0.5436 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.167, allocations: 4 kB / 0.5436 GB, free: 88 kB / 398.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.0001217/0.1672, allocations: 129.8 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1672, allocations: 3.953 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.1672, allocations: 7.906 kB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1672, allocations: 4 kB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1673, allocations: 0 / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1673, allocations: 0 / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.1675, allocations: 169.6 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1675, allocations: 0 / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.1675, allocations: 11.98 kB / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1676, allocations: 8 kB / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1676, allocations: 0 / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1676, allocations: 0 / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1676, allocations: 0 / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1679, allocations: 183.8 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.1679, allocations: 85.09 kB / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1679, allocations: 0 / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.168, allocations: 8.094 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.168, allocations: 0 / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.168, allocations: 0 / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.389e-05/0.1681, allocations: 95.58 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1681, allocations: 0 / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1683, allocations: 8 kB / 0.5443 GB, free: 15.29 MB / 414.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.0001205/0.1684, allocations: 99.19 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1686, allocations: 44.03 kB / 0.5444 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1686, allocations: 3.938 kB / 0.5444 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.1687, allocations: 15.98 kB / 0.5444 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.169, allocations: 13.56 kB / 0.5444 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.1694, allocations: 153.8 kB / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1697, allocations: 0.6884 MB / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.1697, allocations: 4.062 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1698, allocations: 15.42 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1698, allocations: 0 / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Templates: time 0.003114/0.1729, allocations: 450.8 kB / 0.5457 GB, free: 13.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.199994551949203]