Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.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.001886/0.001886, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002068/0.002068, allocations: 211.9 kB / 23.73 MB, free: 4.16 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.613/1.613, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2462/0.2462, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 71.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3511, allocations: 66.02 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003181/0.3543, allocations: 1.663 MB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3556, allocations: 0.6283 MB / 0.5633 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.829e-05/0.3556, allocations: 4 kB / 0.5633 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.3557, allocations: 11.81 kB / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.3558, allocations: 23.8 kB / 0.5633 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.3563, allocations: 155.4 kB / 0.5635 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.3566, allocations: 155.7 kB / 0.5636 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3567, allocations: 36.72 kB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3569, allocations: 79.7 kB / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.357, allocations: 51.75 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.357, allocations: 12 kB / 0.5638 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.3571, allocations: 20 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.3571, allocations: 35.89 kB / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.3572, allocations: 47.73 kB / 0.5639 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.3574, allocations: 146.1 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3574, allocations: 0 / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3574, allocations: 0 / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3574, allocations: 0 / 0.564 GB, free: 1.113 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007513/0.3582, allocations: 385.7 kB / 0.5644 GB, free: 0.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3582, allocations: 12.02 kB / 0.5644 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3584, allocations: 20.84 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3587, allocations: 167.9 kB / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3587, allocations: 12.38 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3588, allocations: 8.375 kB / 0.5646 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.3593, allocations: 326.7 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3593, allocations: 0 / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.3593, allocations: 4 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3593, allocations: 4 kB / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.3598, allocations: 127.9 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000822/0.3606, allocations: 371.9 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.3612, allocations: 194.5 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.3614, allocations: 72.8 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3614, allocations: 0 / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.3615, allocations: 34.56 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.3615, allocations: 0 / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001511/0.363, allocations: 0.4929 MB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.3631, allocations: 106.8 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3632, allocations: 150.1 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3633, allocations: 29.7 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.3633, allocations: 108 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.3634, allocations: 39.83 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.3634, allocations: 29.7 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3636, allocations: 322.8 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.3638, allocations: 76.8 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.3641, allocations: 149.8 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.3645, allocations: 136.8 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3645, allocations: 0 / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004939/0.365, allocations: 185.7 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.365, allocations: 4 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.365, allocations: 4 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3651, allocations: 0 / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3652, allocations: 39.95 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3652, allocations: 3.938 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.3654, allocations: 27.97 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3654, allocations: 0 / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001667/0.3656, allocations: 124.1 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001447/0.3657, allocations: 113.9 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001876/0.3659, allocations: 72.81 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.21e-07/0.3659, allocations: 0 / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002549/0.3661, allocations: 121.5 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.3662, allocations: 6.188 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-06/0.3662, allocations: 4.031 kB / 0.568 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.3662, allocations: 4 kB / 0.568 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.3663, allocations: 19.98 kB / 0.568 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-06/0.3663, allocations: 4.375 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.3664, allocations: 19.92 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3664, allocations: 3.938 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.000152/0.3665, allocations: 188.2 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3666, allocations: 15.89 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.3666, allocations: 12.72 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3666, allocations: 4 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3666, allocations: 3.938 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3666, allocations: 3.938 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009206/0.3675, allocations: 439.4 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3675, allocations: 0 / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.3677, allocations: 35.95 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3677, allocations: 4 kB / 0.5687 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3677, allocations: 7.938 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3677, allocations: 0 / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3677, allocations: 3.938 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.3685, allocations: 360.1 kB / 0.569 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.3686, allocations: 7.984 kB / 0.569 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3686, allocations: 11.94 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.3689, allocations: 40.02 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.3689, allocations: 3.984 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3689, allocations: 8 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.366e-05/0.369, allocations: 111.2 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.369, allocations: 0 / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.3693, allocations: 32 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0001043/0.3694, allocations: 99.25 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.37, allocations: 183.8 kB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.37, allocations: 0 / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.3703, allocations: 87.92 kB / 0.5696 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3707, allocations: 34.97 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.3714, allocations: 296.6 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.681e-05/0.3715, allocations: 97.67 kB / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.135e-05/0.3716, allocations: 20.34 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.3717, allocations: 15.44 kB / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3717, allocations: 0 / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of Templates: time 0.006232/0.3779, allocations: 2.491 MB / 0.5725 GB, free: 8.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.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.518943935632706]