Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001812/0.001812, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002209/0.002209, allocations: 221.1 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2098/0.2098, allocations: 46.93 MB / 362 MB, free: 4.223 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Blocks.Limiters") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 83.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2753, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002886/0.2782, allocations: 1.694 MB / 0.564 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2793, allocations: 0.6712 MB / 0.5646 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.2794, allocations: 11.88 kB / 0.5646 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.2794, allocations: 11.81 kB / 0.5647 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.863e-05/0.2795, allocations: 19.8 kB / 0.5647 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.28, allocations: 151.7 kB / 0.5648 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.2802, allocations: 163.7 kB / 0.565 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2803, allocations: 35.81 kB / 0.565 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2805, allocations: 71.84 kB / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2806, allocations: 71.61 kB / 0.5651 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.2806, allocations: 12 kB / 0.5652 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.2807, allocations: 20 kB / 0.5652 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.2807, allocations: 31.91 kB / 0.5652 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.2808, allocations: 59.66 kB / 0.5653 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.281, allocations: 139.2 kB / 0.5654 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.281, allocations: 0 / 0.5654 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.281, allocations: 0 / 0.5654 GB, free: 1.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.281, allocations: 8 kB / 0.5654 GB, free: 1.105 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.0006425/0.2817, allocations: 385.6 kB / 0.5658 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2817, allocations: 12.03 kB / 0.5658 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.2818, allocations: 20.84 kB / 0.5658 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2821, allocations: 170.3 kB / 0.566 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2821, allocations: 4.375 kB / 0.566 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.2822, allocations: 12.31 kB / 0.566 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.2826, allocations: 332.8 kB / 0.5663 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2827, allocations: 4 kB / 0.5663 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.2827, allocations: 4 kB / 0.5663 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2827, allocations: 0 / 0.5663 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.2831, allocations: 123.9 kB / 0.5664 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.2839, allocations: 431.4 kB / 0.5668 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.2844, allocations: 190.4 kB / 0.567 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.2846, allocations: 68.8 kB / 0.5671 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2846, allocations: 8 kB / 0.5671 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2847, allocations: 30.56 kB / 0.5671 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2847, allocations: 0 / 0.5671 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001321/0.286, allocations: 0.4967 MB / 0.5676 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.2861, allocations: 106.8 kB / 0.5677 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.2862, allocations: 155.3 kB / 0.5678 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2862, allocations: 29.7 kB / 0.5679 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.2863, allocations: 108.1 kB / 0.568 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.2863, allocations: 39.83 kB / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.2864, allocations: 25.7 kB / 0.568 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2865, allocations: 330.8 kB / 0.5684 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2867, allocations: 68.8 kB / 0.5684 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.287, allocations: 145.9 kB / 0.5686 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.2874, allocations: 140.9 kB / 0.5687 GB, free: 13.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2874, allocations: 3.938 kB / 0.5687 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004563/0.2878, allocations: 189.5 kB / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2878, allocations: 8 kB / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2878, allocations: 0 / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2878, allocations: 0 / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.288, allocations: 47.89 kB / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.288, allocations: 0 / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.2881, allocations: 23.97 kB / 0.569 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.2882, allocations: 0 / 0.569 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001497/0.2883, allocations: 124.1 kB / 0.5691 GB, free: 13.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001369/0.2884, allocations: 110 kB / 0.5692 GB, free: 12.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001828/0.2886, allocations: 76.75 kB / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.22e-07/0.2886, allocations: 4 kB / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002499/0.2889, allocations: 121.8 kB / 0.5694 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2889, allocations: 4 kB / 0.5694 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.2889, allocations: 96 / 0.5694 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-06/0.2889, allocations: 3.938 kB / 0.5694 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.289, allocations: 28.02 kB / 0.5694 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.289, allocations: 4.484 kB / 0.5694 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.661e-05/0.2891, allocations: 11.98 kB / 0.5694 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.2891, allocations: 0 / 0.5694 GB, free: 12.64 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.0001146/0.2892, allocations: 189.1 kB / 0.5696 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.2892, allocations: 15.91 kB / 0.5696 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.2893, allocations: 21.34 kB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2893, allocations: 7.938 kB / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2893, allocations: 0 / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2893, allocations: 0 / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008454/0.2901, allocations: 498.2 kB / 0.5701 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2901, allocations: 3.938 kB / 0.5701 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2903, allocations: 31.97 kB / 0.5702 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2903, allocations: 0 / 0.5702 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.2903, allocations: 4 kB / 0.5702 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2903, allocations: 3.984 kB / 0.5702 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2903, allocations: 0 / 0.5702 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.291, allocations: 360.1 kB / 0.5705 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.2911, allocations: 19.86 kB / 0.5705 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.2911, allocations: 7.984 kB / 0.5705 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.2913, allocations: 31.95 kB / 0.5706 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.2914, allocations: 11.98 kB / 0.5706 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.2914, allocations: 8.062 kB / 0.5706 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.739e-05/0.2915, allocations: 121.6 kB / 0.5707 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2915, allocations: 3.938 kB / 0.5707 GB, free: 11.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.2918, allocations: 32 kB / 0.5707 GB, free: 11.22 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 9.108e-05/0.2919, allocations: 95.25 kB / 0.5708 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.2925, allocations: 188.1 kB / 0.571 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2925, allocations: 192 / 0.571 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.2927, allocations: 79.86 kB / 0.5711 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.293, allocations: 43.3 kB / 0.5711 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.2936, allocations: 284.8 kB / 0.5714 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2939, allocations: 0.7085 MB / 0.5721 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.192e-05/0.294, allocations: 20.97 kB / 0.5721 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.2941, allocations: 15.44 kB / 0.5721 GB, free: 9.738 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2941, allocations: 0 / 0.5721 GB, free: 9.738 MB / 414.1 MB Notification: Performance of Templates: time 0.005403/0.2995, allocations: 2.348 MB / 0.5744 GB, free: 7.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 4.627333976794034]