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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001517/0.001517, allocations: 204.5 kB / 23.73 MB, free: 4.379 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.716/1.716, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2525/0.2525, allocations: 46.96 MB / 360.9 MB, free: 4.113 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.002842/0.002842, allocations: 67.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3757, allocations: 66.04 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003674/0.3794, allocations: 1.655 MB / 0.5627 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3809, allocations: 0.6207 MB / 0.5633 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.381, allocations: 7.938 kB / 0.5633 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.381, allocations: 7.875 kB / 0.5633 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3812, allocations: 27.78 kB / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.3817, allocations: 147.4 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.382, allocations: 167.6 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3822, allocations: 24.75 kB / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.3824, allocations: 79.75 kB / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.3825, allocations: 63.75 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3826, allocations: 15.94 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.638e-05/0.3826, allocations: 20 kB / 0.5638 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.3827, allocations: 35.89 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.3827, allocations: 43.8 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.383, allocations: 146.1 kB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.383, allocations: 0 / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.383, allocations: 4 kB / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.383, allocations: 0 / 0.5641 GB, free: 1.074 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.0008018/0.3838, allocations: 381.7 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3838, allocations: 8.031 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.384, allocations: 24.83 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.3844, allocations: 171.9 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.3844, allocations: 8.375 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.3845, allocations: 8.375 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.385, allocations: 329.7 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.385, allocations: 0 / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.385, allocations: 4 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3851, allocations: 11.88 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.3855, allocations: 123.9 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008762/0.3863, allocations: 376 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.3869, allocations: 186.5 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3871, allocations: 68.8 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3872, allocations: 8 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3872, allocations: 30.56 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.3872, allocations: 3.938 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00144/0.3886, allocations: 0.4931 MB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.3887, allocations: 106.8 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3888, allocations: 146.1 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.3889, allocations: 33.7 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.389, allocations: 108 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.389, allocations: 35.69 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.3891, allocations: 29.7 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3892, allocations: 322.8 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.3894, allocations: 80.73 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.3897, allocations: 145.9 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.3901, allocations: 137.1 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3901, allocations: 0 / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004863/0.3906, allocations: 189.4 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3906, allocations: 4 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3906, allocations: 0 / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3906, allocations: 4 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.3908, allocations: 35.95 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3908, allocations: 3.938 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.391, allocations: 31.91 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.391, allocations: 4 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001567/0.3911, allocations: 120.1 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000147/0.3913, allocations: 110 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001808/0.3915, allocations: 68.81 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.3915, allocations: 4 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002629/0.3917, allocations: 129.5 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.3917, allocations: 4 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.3917, allocations: 0 / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-06/0.3917, allocations: 384 / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3918, allocations: 27.92 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.3918, allocations: 0 / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.392, allocations: 15.92 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.392, allocations: 7.938 kB / 0.568 GB, free: 12.69 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.0001256/0.3921, allocations: 184.2 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.3921, allocations: 15.95 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.3922, allocations: 16.7 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3922, allocations: 8 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3922, allocations: 3.938 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3922, allocations: 0 / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.3931, allocations: 438.9 kB / 0.5687 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3931, allocations: 0 / 0.5687 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.3933, allocations: 35.95 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.3933, allocations: 4 kB / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3933, allocations: 11.88 kB / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3933, allocations: 0 / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3933, allocations: 0 / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.3941, allocations: 360.1 kB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.3941, allocations: 7.938 kB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.3941, allocations: 12 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.3944, allocations: 39.95 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.3945, allocations: 3.984 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3945, allocations: 8 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.348e-05/0.3946, allocations: 111.2 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3946, allocations: 0 / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.3949, allocations: 36 kB / 0.5693 GB, free: 11.36 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.0001204/0.395, allocations: 95.25 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.3956, allocations: 187.7 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3957, allocations: 4 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.3959, allocations: 80.33 kB / 0.5696 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3963, allocations: 27.98 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.397, allocations: 305.4 kB / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.3971, allocations: 93.61 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.3972, allocations: 20.34 kB / 0.57 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.3973, allocations: 19.42 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3973, allocations: 4 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of Templates: time 0.006534/0.4038, allocations: 2.522 MB / 0.5725 GB, free: 8.012 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.723831689916551]