Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2469/0.2469, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 0.4921 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1566, allocations: 66 MB / 0.5565 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.005819/0.1624, allocations: 1.723 MB / 0.5582 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.1632, allocations: 155.6 kB / 0.5583 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.1634, allocations: 7.938 kB / 0.5583 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.1634, allocations: 7.875 kB / 0.5584 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1635, allocations: 7.875 kB / 0.5584 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.1642, allocations: 107.8 kB / 0.5585 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1645, allocations: 107.7 kB / 0.5586 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1647, allocations: 21.39 kB / 0.5586 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1649, allocations: 43.84 kB / 0.5586 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.165, allocations: 43.77 kB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.165, allocations: 8 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.951e-05/0.1651, allocations: 8 kB / 0.5587 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.1651, allocations: 23.92 kB / 0.5587 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.635e-05/0.1652, allocations: 35.8 kB / 0.5587 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1655, allocations: 91.56 kB / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.1655, allocations: 11.94 kB / 0.5588 GB, free: 2.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1655, allocations: 4 kB / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1655, allocations: 0 / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00129/0.1668, allocations: 444.6 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.1668, allocations: 8.031 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.1669, allocations: 16.84 kB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.1674, allocations: 200.2 kB / 0.5595 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1674, allocations: 8.375 kB / 0.5595 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1674, allocations: 4.375 kB / 0.5595 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.168, allocations: 160.3 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1681, allocations: 192 / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1681, allocations: 7.875 kB / 0.5597 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.1681, allocations: 4 kB / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.1688, allocations: 111.8 kB / 0.5598 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1699, allocations: 0.5438 MB / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008233/0.1708, allocations: 130.5 kB / 0.5604 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.1711, allocations: 56.84 kB / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.1712, allocations: 0 / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.1712, allocations: 34.56 kB / 0.5605 GB, free: 1.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.1712, allocations: 4 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00124/0.1725, allocations: 189.7 kB / 0.5607 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1726, allocations: 102.8 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1728, allocations: 139.9 kB / 0.5609 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.1728, allocations: 25.7 kB / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1729, allocations: 104.2 kB / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.173, allocations: 31.84 kB / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1731, allocations: 33.66 kB / 0.5611 GB, free: 384 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.1733, allocations: 326.8 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.1736, allocations: 47.95 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.174, allocations: 92.22 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/0.1746, allocations: 114.6 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1746, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008328/0.1755, allocations: 149.5 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.1755, allocations: 8.062 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1755, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1755, allocations: 4 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.1758, allocations: 31.91 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1758, allocations: 0 / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.176, allocations: 35.8 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1761, allocations: 4 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * 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.0001934/0.1762, allocations: 128 kB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.1763, allocations: 7.953 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.1764, allocations: 16.64 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1764, allocations: 4 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1764, allocations: 4 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1764, allocations: 3.938 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.1768, allocations: 201.8 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1768, allocations: 0 / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.177, allocations: 35.84 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.177, allocations: 4 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.177, allocations: 4 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.177, allocations: 0 / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.177, allocations: 0 / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.1779, allocations: 239.3 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.178, allocations: 85.06 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.178, allocations: 4 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.1783, allocations: 23.97 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.1784, allocations: 11.98 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1784, allocations: 3.938 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1785, allocations: 103.3 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1785, allocations: 4 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004603/0.179, allocations: 19.94 kB / 0.5628 GB, free: 14.56 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001943/0.1792, allocations: 111 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.1799, allocations: 107.9 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.18, allocations: 4.125 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.1803, allocations: 59.88 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.1808, allocations: 22.38 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.1818, allocations: 243.6 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.1823, allocations: 0.7002 MB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.1824, allocations: 15.42 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1824, allocations: 0 / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of Templates: time 0.005694/0.1881, allocations: 1.429 MB / 0.5654 GB, free: 11.82 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ZeroThresholds/ZeroThresholds.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.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.546377230988583]