Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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.001667/0.001667, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001933/0.001933, allocations: 203.3 kB / 21.4 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.585/1.585, allocations: 227.4 MB / 251.6 MB, free: 60 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.248/0.248, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 82.73 kB / 490.2 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1515, allocations: 62.44 MB / 0.5397 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002316/0.1538, allocations: 0.8221 MB / 0.5405 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002104/0.1541, allocations: 47.88 kB / 0.5405 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1542, allocations: 4 kB / 0.5405 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1543, allocations: 11.86 kB / 0.5405 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.641e-05/0.1543, allocations: 0 / 0.5405 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.1544, allocations: 19.92 kB / 0.5406 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1546, allocations: 35.92 kB / 0.5406 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1547, allocations: 23.92 kB / 0.5406 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.714e-05/0.1547, allocations: 15.86 kB / 0.5406 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.1548, allocations: 15.92 kB / 0.5406 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1548, allocations: 4 kB / 0.5406 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1548, allocations: 4 kB / 0.5406 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.1548, allocations: 4 kB / 0.5406 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.1549, allocations: 19.86 kB / 0.5407 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.155, allocations: 31.84 kB / 0.5407 GB, free: 3.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.155, allocations: 0 / 0.5407 GB, free: 3.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.155, allocations: 0 / 0.5407 GB, free: 3.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.155, allocations: 0 / 0.5407 GB, free: 3.082 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006343/0.1557, allocations: 359.3 kB / 0.541 GB, free: 2.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1557, allocations: 8.031 kB / 0.541 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.1558, allocations: 4.938 kB / 0.5411 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1561, allocations: 188.2 kB / 0.5412 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1561, allocations: 384 / 0.5412 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1561, allocations: 8.312 kB / 0.5412 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1562, allocations: 50.25 kB / 0.5413 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1563, allocations: 7.938 kB / 0.5413 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1563, allocations: 0 / 0.5413 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1563, allocations: 0 / 0.5413 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.1563, allocations: 12 kB / 0.5413 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.1569, allocations: 292.7 kB / 0.5416 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.839e-05/0.1569, allocations: 26.58 kB / 0.5416 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.157, allocations: 8.844 kB / 0.5416 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.157, allocations: 4 kB / 0.5416 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.331e-05/0.1571, allocations: 47.48 kB / 0.5417 GB, free: 1.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1571, allocations: 3.938 kB / 0.5417 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001834/0.1573, allocations: 57.58 kB / 0.5417 GB, free: 1.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1573, allocations: 55.39 kB / 0.5418 GB, free: 1.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1574, allocations: 113.8 kB / 0.5419 GB, free: 1.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1575, allocations: 29.7 kB / 0.5419 GB, free: 1.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.1575, allocations: 100.2 kB / 0.542 GB, free: 1.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.1576, allocations: 3.953 kB / 0.542 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.1576, allocations: 21.7 kB / 0.542 GB, free: 1.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1578, allocations: 318.8 kB / 0.5423 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.1578, allocations: 4 kB / 0.5423 GB, free: 1.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.1578, allocations: 25.64 kB / 0.5424 GB, free: 1.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.48e-05/0.1579, allocations: 33.66 kB / 0.5424 GB, free: 1.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1579, allocations: 0 / 0.5424 GB, free: 1.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.459e-05/0.158, allocations: 53.62 kB / 0.5425 GB, free: 1.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.158, allocations: 4 kB / 0.5425 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.158, allocations: 0 / 0.5425 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.158, allocations: 0 / 0.5425 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.138e-05/0.158, allocations: 4 kB / 0.5425 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1581, allocations: 0 / 0.5425 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.1581, allocations: 15.83 kB / 0.5425 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1581, allocations: 0 / 0.5425 GB, free: 1.023 MB / 398.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001009/0.1582, allocations: 121.9 kB / 0.5426 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.1582, allocations: 8 kB / 0.5426 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.1583, allocations: 7.906 kB / 0.5426 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1583, allocations: 0 / 0.5426 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1583, allocations: 0 / 0.5426 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1583, allocations: 3.938 kB / 0.5426 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.1586, allocations: 298.5 kB / 0.5429 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1586, allocations: 0 / 0.5429 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.1587, allocations: 4 kB / 0.5429 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1587, allocations: 4.375 kB / 0.5429 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1587, allocations: 3.938 kB / 0.5429 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1587, allocations: 384 / 0.5429 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1587, allocations: 0 / 0.5429 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1589, allocations: 155.4 kB / 0.5431 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.1589, allocations: 85.05 kB / 0.5431 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.159, allocations: 11.91 kB / 0.5431 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.159, allocations: 4.062 kB / 0.5432 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1591, allocations: 0 / 0.5432 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1591, allocations: 4 kB / 0.5432 GB, free: 228 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.864e-05/0.1591, allocations: 95.27 kB / 0.5432 GB, free: 132 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1591, allocations: 0 / 0.5432 GB, free: 132 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1594, allocations: 4 kB / 0.5433 GB, free: 128 kB / 398.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001062/0.1595, allocations: 91.25 kB / 0.5433 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.1596, allocations: 23.92 kB / 0.5434 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-05/0.1596, allocations: 4.062 kB / 0.5434 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.1596, allocations: 8.125 kB / 0.5434 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1599, allocations: 19.2 kB / 0.5434 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.1602, allocations: 125.5 kB / 0.5435 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1606, allocations: 0.6846 MB / 0.5442 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.093e-05/0.1606, allocations: 4 kB / 0.5442 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.1606, allocations: 11.44 kB / 0.5442 GB, free: 15.1 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1606, allocations: 0 / 0.5442 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Templates: time 0.003058/0.1637, allocations: 0.493 MB / 0.5447 GB, free: 14.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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.227092158049345]