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.001816/0.001816, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002167/0.002167, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2391/0.2391, allocations: 46.94 MB / 360.9 MB, free: 4.266 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.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.002075/0.002075, allocations: 59.91 kB / 0.4966 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3571, allocations: 66.04 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003164/0.3602, allocations: 1.697 MB / 0.5628 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3616, allocations: 0.6712 MB / 0.5634 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.3616, allocations: 7.938 kB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.3617, allocations: 19.73 kB / 0.5635 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.857e-05/0.3618, allocations: 15.81 kB / 0.5635 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.3623, allocations: 151.7 kB / 0.5636 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.3625, allocations: 155.6 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3627, allocations: 36.72 kB / 0.5638 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.3629, allocations: 71.83 kB / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.363, allocations: 75.61 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.363, allocations: 12 kB / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.816e-05/0.3631, allocations: 16 kB / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.3631, allocations: 31.91 kB / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.3632, allocations: 67.7 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3634, allocations: 134.2 kB / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3634, allocations: 4 kB / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3634, allocations: 0 / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3634, allocations: 0 / 0.5642 GB, free: 1.23 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.0007474/0.3642, allocations: 389.6 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3642, allocations: 12.03 kB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.3644, allocations: 28.83 kB / 0.5646 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.3647, allocations: 154.3 kB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.3648, allocations: 8.375 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.3648, allocations: 12.31 kB / 0.5648 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.3652, allocations: 172.5 kB / 0.5649 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3652, allocations: 0 / 0.5649 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.3653, allocations: 8 kB / 0.5649 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3653, allocations: 0 / 0.5649 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.3657, allocations: 126.4 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009857/0.3667, allocations: 427.4 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.3673, allocations: 190.4 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.3675, allocations: 76.8 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.3675, allocations: 4.141 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3676, allocations: 30.56 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3676, allocations: 4 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001484/0.369, allocations: 0.4966 MB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.3691, allocations: 106.8 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3693, allocations: 159.3 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3693, allocations: 29.7 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.3694, allocations: 104.1 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.3694, allocations: 39.69 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.3695, allocations: 29.7 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3697, allocations: 322.8 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.3699, allocations: 72.8 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.3701, allocations: 94.5 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.3706, allocations: 144.7 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3706, allocations: 4 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005264/0.3711, allocations: 185.4 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3711, allocations: 4 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3711, allocations: 384 / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3711, allocations: 4 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3713, allocations: 39.89 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3713, allocations: 4 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.3715, allocations: 23.91 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.3715, allocations: 8 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001505/0.3716, allocations: 116.1 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001173/0.3717, allocations: 62.55 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001915/0.3719, allocations: 76.75 kB / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.3719, allocations: 0 / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002526/0.3722, allocations: 121.5 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.3722, allocations: 8.031 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-06/0.3722, allocations: 4 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-06/0.3722, allocations: 0 / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.3723, allocations: 19.98 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.3723, allocations: 3.938 kB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-05/0.3724, allocations: 11.98 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3724, allocations: 8 kB / 0.568 GB, free: 13.08 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.0001314/0.3725, allocations: 192.2 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.3726, allocations: 15.84 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.3726, allocations: 17.41 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3726, allocations: 3.938 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3726, allocations: 0 / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3726, allocations: 4 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.3736, allocations: 486.5 kB / 0.5687 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3736, allocations: 7.922 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.3737, allocations: 35.97 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3737, allocations: 3.938 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3738, allocations: 0 / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.3738, allocations: 8.016 kB / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3738, allocations: 4 kB / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/0.3746, allocations: 360.1 kB / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.3746, allocations: 11.89 kB / 0.5691 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3746, allocations: 7.922 kB / 0.5691 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.3749, allocations: 48.02 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.375, allocations: 3.984 kB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.375, allocations: 8 kB / 0.5691 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3751, allocations: 125.8 kB / 0.5693 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3751, allocations: 0 / 0.5693 GB, free: 11.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.3754, allocations: 32 kB / 0.5693 GB, free: 11.65 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.0001142/0.3756, allocations: 95.25 kB / 0.5694 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006167/0.3762, allocations: 183.8 kB / 0.5696 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3762, allocations: 4 kB / 0.5696 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.3764, allocations: 87.91 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.3768, allocations: 36.45 kB / 0.5697 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.3775, allocations: 280.8 kB / 0.57 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.3779, allocations: 0.7124 MB / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.378, allocations: 20.95 kB / 0.5707 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.378, allocations: 19.91 kB / 0.5707 GB, free: 10.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.378, allocations: 0 / 0.5707 GB, free: 10.17 MB / 414.1 MB Notification: Performance of Templates: time 0.006094/0.3841, allocations: 2.343 MB / 0.573 GB, free: 7.859 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.594205477042124]