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.001415/0.001416, allocations: 121.5 kB / 18.46 MB, free: 4.566 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.00172/0.00172, allocations: 205.8 kB / 21.41 MB, free: 1.621 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.518/1.518, allocations: 227.4 MB / 251.7 MB, free: 268 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.2659/0.2659, allocations: 46.16 MB / 351.1 MB, free: 14.31 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.003297/0.003297, allocations: 80.62 kB / 490.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1472, allocations: 62.46 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003153/0.1504, allocations: 1.636 MB / 0.5413 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1515, allocations: 0.5921 MB / 0.5418 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.276e-05/0.1516, allocations: 4 kB / 0.5419 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1518, allocations: 11.86 kB / 0.5419 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.601e-05/0.1518, allocations: 7.875 kB / 0.5419 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1522, allocations: 99.69 kB / 0.542 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1524, allocations: 107.8 kB / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1525, allocations: 35.92 kB / 0.5421 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.1526, allocations: 47.83 kB / 0.5421 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.1527, allocations: 47.7 kB / 0.5422 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1527, allocations: 8 kB / 0.5422 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.1527, allocations: 8 kB / 0.5422 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.1528, allocations: 19.92 kB / 0.5422 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.1528, allocations: 35.8 kB / 0.5423 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.153, allocations: 91.58 kB / 0.5424 GB, free: 1.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.153, allocations: 8 kB / 0.5424 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.153, allocations: 0 / 0.5424 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1531, allocations: 0 / 0.5424 GB, free: 1.48 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.0006728/0.1537, allocations: 415 kB / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1538, allocations: 8.031 kB / 0.5428 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.1538, allocations: 16.89 kB / 0.5428 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.1541, allocations: 204.1 kB / 0.543 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1542, allocations: 8.375 kB / 0.543 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.1542, allocations: 8.375 kB / 0.543 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.1545, allocations: 102 kB / 0.5431 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1545, allocations: 3.984 kB / 0.5431 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1545, allocations: 4 kB / 0.5431 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1545, allocations: 4 kB / 0.5431 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.1547, allocations: 58 kB / 0.5432 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/0.1554, allocations: 380.6 kB / 0.5435 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1558, allocations: 102.5 kB / 0.5436 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1559, allocations: 40.91 kB / 0.5437 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1559, allocations: 0 / 0.5437 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.1563, allocations: 103.3 kB / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.1563, allocations: 0 / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004804/0.1568, allocations: 141.5 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1568, allocations: 55.34 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.157, allocations: 153 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.157, allocations: 29.7 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.1571, allocations: 100.1 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1571, allocations: 31.91 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.1572, allocations: 21.72 kB / 0.5443 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1574, allocations: 322.8 kB / 0.5446 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1575, allocations: 35.97 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1576, allocations: 49.69 kB / 0.5446 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.1578, allocations: 81.69 kB / 0.5447 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1578, allocations: 0 / 0.5447 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003057/0.1582, allocations: 125.5 kB / 0.5448 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1582, allocations: 11.94 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1582, allocations: 0 / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1582, allocations: 0 / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1583, allocations: 19.92 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1583, allocations: 4.031 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.1584, allocations: 19.98 kB / 0.5449 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1584, allocations: 0 / 0.5449 GB, free: 14.64 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.0001088/0.1586, allocations: 117.8 kB / 0.545 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.1586, allocations: 15.84 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.1586, allocations: 12.72 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1586, allocations: 4 kB / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1587, allocations: 7.984 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1587, allocations: 0 / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005689/0.1592, allocations: 390.3 kB / 0.5454 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1593, allocations: 4 kB / 0.5454 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.1593, allocations: 11.98 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1594, allocations: 4 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1594, allocations: 0 / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1594, allocations: 4 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1594, allocations: 0 / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.1599, allocations: 251.3 kB / 0.5457 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.16, allocations: 93.03 kB / 0.5458 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.16, allocations: 0 / 0.5458 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1601, allocations: 19.98 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.1602, allocations: 7.984 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1602, allocations: 8.078 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.919e-05/0.1603, allocations: 119.3 kB / 0.5459 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1603, allocations: 0 / 0.5459 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1605, allocations: 16 kB / 0.5459 GB, free: 13.48 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.0001186/0.1607, allocations: 99.17 kB / 0.546 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.161, allocations: 83.83 kB / 0.5461 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.161, allocations: 4.062 kB / 0.5461 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1611, allocations: 43.97 kB / 0.5462 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1615, allocations: 19.61 kB / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1625, allocations: 266.4 kB / 0.5464 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1629, allocations: 0.7001 MB / 0.5471 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.1629, allocations: 12.56 kB / 0.5471 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.163, allocations: 11.44 kB / 0.5471 GB, free: 12.19 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.163, allocations: 0 / 0.5471 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Templates: time 0.004288/0.1673, allocations: 1.237 MB / 0.5483 GB, free: 10.96 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.216459427960217]