Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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.001577/0.001577, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.001956/0.001956, allocations: 208.9 kB / 22.08 MB, free: 0.9922 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.576/1.576, allocations: 227.4 MB / 252.3 MB, free: 80 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.2696/0.2696, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003736/0.003736, allocations: 80.95 kB / 490.9 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1559, allocations: 62.45 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003148/0.1591, allocations: 1.643 MB / 0.5419 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1602, allocations: 0.5921 MB / 0.5425 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.1604, allocations: 0 / 0.5425 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.1605, allocations: 11.86 kB / 0.5425 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.1606, allocations: 15.86 kB / 0.5425 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.1609, allocations: 93.89 kB / 0.5426 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1611, allocations: 111.7 kB / 0.5427 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1613, allocations: 31.92 kB / 0.5428 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.1614, allocations: 47.84 kB / 0.5428 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.1614, allocations: 47.75 kB / 0.5429 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1615, allocations: 8 kB / 0.5429 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.1615, allocations: 8 kB / 0.5429 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.1615, allocations: 19.92 kB / 0.5429 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.1616, allocations: 43.8 kB / 0.5429 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1618, allocations: 87.58 kB / 0.543 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1618, allocations: 0 / 0.543 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1618, allocations: 0 / 0.543 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1618, allocations: 0 / 0.543 GB, free: 1.504 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007119/0.1625, allocations: 415 kB / 0.5434 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1626, allocations: 16.03 kB / 0.5434 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.1626, allocations: 8.891 kB / 0.5434 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.1629, allocations: 208.2 kB / 0.5436 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.163, allocations: 4.375 kB / 0.5436 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.163, allocations: 12.38 kB / 0.5437 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.1633, allocations: 105.9 kB / 0.5438 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1633, allocations: 0 / 0.5438 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.1633, allocations: 11.97 kB / 0.5438 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1634, allocations: 0 / 0.5438 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.1635, allocations: 53.59 kB / 0.5438 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007453/0.1643, allocations: 388.5 kB / 0.5442 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.1646, allocations: 102.6 kB / 0.5443 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1648, allocations: 32.86 kB / 0.5443 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.1648, allocations: 4 kB / 0.5443 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.1651, allocations: 99.36 kB / 0.5444 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1651, allocations: 0 / 0.5444 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004761/0.1655, allocations: 141.5 kB / 0.5445 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1656, allocations: 59.34 kB / 0.5446 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1658, allocations: 152.4 kB / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1658, allocations: 29.7 kB / 0.5448 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.1659, allocations: 96.09 kB / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.1659, allocations: 27.92 kB / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.166, allocations: 25.72 kB / 0.5449 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1661, allocations: 322.8 kB / 0.5452 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1663, allocations: 35.97 kB / 0.5453 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1664, allocations: 53.62 kB / 0.5453 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.1666, allocations: 77.62 kB / 0.5454 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1666, allocations: 0 / 0.5454 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000295/0.1669, allocations: 125.7 kB / 0.5455 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.167, allocations: 7.938 kB / 0.5455 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.167, allocations: 0 / 0.5455 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.167, allocations: 0 / 0.5455 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.1672, allocations: 23.95 kB / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1672, allocations: 8 kB / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/0.1673, allocations: 15.98 kB / 0.5456 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1673, allocations: 4 kB / 0.5456 GB, free: 14.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001017/0.1675, allocations: 113.8 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1675, allocations: 15.84 kB / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.1675, allocations: 16.72 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1675, allocations: 7.984 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1675, allocations: 0 / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1676, allocations: 0 / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.1682, allocations: 394.3 kB / 0.5461 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1682, allocations: 0 / 0.5461 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.1683, allocations: 15.98 kB / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1683, allocations: 0 / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1683, allocations: 4 kB / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1683, allocations: 0 / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1683, allocations: 0 / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.1688, allocations: 251.3 kB / 0.5463 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.1689, allocations: 89 kB / 0.5464 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1689, allocations: 8.031 kB / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.169, allocations: 11.98 kB / 0.5465 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.1691, allocations: 15.97 kB / 0.5465 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1691, allocations: 8.062 kB / 0.5465 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.935e-05/0.1692, allocations: 110.6 kB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1692, allocations: 0 / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1695, allocations: 16 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001211/0.1696, allocations: 103.2 kB / 0.5467 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1699, allocations: 96.28 kB / 0.5468 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1699, allocations: 0 / 0.5468 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1701, allocations: 39.97 kB / 0.5468 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1704, allocations: 25.5 kB / 0.5468 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/0.1714, allocations: 296.1 kB / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1718, allocations: 0.7041 MB / 0.5478 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.1718, allocations: 19.44 kB / 0.5478 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1718, allocations: 0 / 0.5478 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.00329/0.1751, allocations: 1.343 MB / 0.5491 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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: 7.78831162804272]