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.001287/0.001287, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001412/0.001412, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2448/0.2448, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.001965/0.001965, allocations: 67.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3716, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003698/0.3753, allocations: 1.655 MB / 0.5634 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3767, allocations: 0.6207 MB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.72e-05/0.3768, allocations: 7.938 kB / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.3769, allocations: 11.86 kB / 0.564 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.377, allocations: 15.81 kB / 0.5641 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.3775, allocations: 163.3 kB / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.3779, allocations: 159.6 kB / 0.5644 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.378, allocations: 32.67 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.3782, allocations: 75.77 kB / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3784, allocations: 67.73 kB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.3784, allocations: 12 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.3785, allocations: 20 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.3785, allocations: 35.84 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.253e-05/0.3786, allocations: 55.7 kB / 0.5647 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.379, allocations: 130.2 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.379, allocations: 4 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.379, allocations: 0 / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.379, allocations: 4 kB / 0.5648 GB, free: 1.129 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.0008145/0.3798, allocations: 385.7 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3799, allocations: 12.03 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.3801, allocations: 28.77 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.3804, allocations: 160 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3804, allocations: 8.375 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.3805, allocations: 8.375 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.381, allocations: 330.6 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.381, allocations: 0 / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.381, allocations: 4 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.381, allocations: 4 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.3815, allocations: 123.9 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.3823, allocations: 376 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.3828, allocations: 190.5 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.3831, allocations: 76.73 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3831, allocations: 0 / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3831, allocations: 38.55 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.3831, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001529/0.3846, allocations: 496.9 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.3847, allocations: 106.8 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3849, allocations: 154.1 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.3849, allocations: 25.7 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.385, allocations: 112.1 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.385, allocations: 35.64 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.3851, allocations: 33.64 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3853, allocations: 322.8 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3855, allocations: 72.8 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.3858, allocations: 149.9 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.3862, allocations: 140.7 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3862, allocations: 0 / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004853/0.3867, allocations: 185.5 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3867, allocations: 4 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3867, allocations: 0 / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3867, allocations: 0 / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.3869, allocations: 35.91 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3869, allocations: 7.938 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3871, allocations: 27.97 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3871, allocations: 8 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000159/0.3872, allocations: 120.1 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001604/0.3874, allocations: 106.2 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001912/0.3876, allocations: 84.88 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.22e-07/0.3876, allocations: 0 / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002532/0.3879, allocations: 117.6 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.3879, allocations: 8 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.3879, allocations: 0 / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-06/0.3879, allocations: 3.938 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.388, allocations: 27.91 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-06/0.388, allocations: 0 / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3881, allocations: 19.92 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3881, allocations: 4 kB / 0.5688 GB, free: 12.74 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.0001309/0.3882, allocations: 188.3 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.3883, allocations: 11.94 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.3883, allocations: 12.72 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3883, allocations: 0 / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3883, allocations: 3.938 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3883, allocations: 7.984 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008972/0.3892, allocations: 438.9 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3892, allocations: 0 / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.3894, allocations: 35.91 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3894, allocations: 0 / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3894, allocations: 11.94 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3894, allocations: 0 / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3894, allocations: 0 / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.3902, allocations: 364.1 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.3902, allocations: 12.05 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.3903, allocations: 7.938 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.3905, allocations: 35.95 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.3906, allocations: 7.984 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3906, allocations: 8 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.952e-05/0.3907, allocations: 111.2 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3907, allocations: 0 / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.391, allocations: 36 kB / 0.57 GB, free: 11.41 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.0002318/0.3913, allocations: 99.19 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000648/0.3919, allocations: 191.8 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3919, allocations: 0 / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.3921, allocations: 75.88 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3925, allocations: 38.23 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.3931, allocations: 300.8 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.168e-05/0.3932, allocations: 93.56 kB / 0.5708 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.089e-05/0.3933, allocations: 28.31 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.3934, allocations: 15.44 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3934, allocations: 4 kB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of Templates: time 0.005815/0.3992, allocations: 2.513 MB / 0.5733 GB, free: 8.066 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/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.1017647170083364]