Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009982, allocations: 105 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3347/0.3347, allocations: 44.14 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3101, allocations: 60.8 MB / 0.5064 GB, free: 38.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002507/0.3127, allocations: 1.735 MB / 0.5081 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.3135, allocations: 0.6006 MB / 0.5087 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.3136, allocations: 2.562 kB / 0.5087 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.3136, allocations: 3.938 kB / 0.5087 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.3137, allocations: 17.69 kB / 0.5087 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.3141, allocations: 126.3 kB / 0.5088 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.3142, allocations: 146.2 kB / 0.5089 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3144, allocations: 36.11 kB / 0.509 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.087e-05/0.3145, allocations: 60.62 kB / 0.509 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.3146, allocations: 67.08 kB / 0.5091 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.3146, allocations: 12.5 kB / 0.5091 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.3146, allocations: 8.562 kB / 0.5091 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.3146, allocations: 32.58 kB / 0.5091 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.3147, allocations: 53.62 kB / 0.5092 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3148, allocations: 124 kB / 0.5093 GB, free: 36.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3148, allocations: 0 / 0.5093 GB, free: 36.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3148, allocations: 2.969 kB / 0.5093 GB, free: 36.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.3149, allocations: 0 / 0.5093 GB, free: 36.1 MB / 378.7 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.0005371/0.3154, allocations: 457.5 kB / 0.5098 GB, free: 35.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3154, allocations: 10.92 kB / 0.5098 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3155, allocations: 13.31 kB / 0.5098 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.3157, allocations: 213.9 kB / 0.51 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3157, allocations: 7.188 kB / 0.51 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3157, allocations: 13.88 kB / 0.51 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.3161, allocations: 176.6 kB / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3161, allocations: 0 / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3161, allocations: 2.875 kB / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3161, allocations: 6.75 kB / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.3165, allocations: 123.9 kB / 0.5103 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.3172, allocations: 450.7 kB / 0.5107 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.3177, allocations: 197.6 kB / 0.5109 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.3179, allocations: 71.06 kB / 0.511 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.3179, allocations: 6.688 kB / 0.511 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.318, allocations: 33.75 kB / 0.511 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.318, allocations: 0 / 0.511 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.00122/0.3192, allocations: 0.5707 MB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3192, allocations: 109.7 kB / 0.5117 GB, free: 34.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.3193, allocations: 152.6 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3194, allocations: 29.7 kB / 0.5119 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.3194, allocations: 115.8 kB / 0.512 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.3194, allocations: 30.75 kB / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.3195, allocations: 26.92 kB / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.3195, allocations: 321.1 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.3197, allocations: 80.2 kB / 0.5124 GB, free: 33.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3199, allocations: 89.86 kB / 0.5125 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.3203, allocations: 145.1 kB / 0.5126 GB, free: 33.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3203, allocations: 0 / 0.5126 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004061/0.3207, allocations: 182.4 kB / 0.5128 GB, free: 33.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3207, allocations: 9.781 kB / 0.5128 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3208, allocations: 7.875 kB / 0.5128 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3208, allocations: 0 / 0.5128 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3209, allocations: 39.75 kB / 0.5129 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.321, allocations: 0 / 0.5129 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3211, allocations: 24.84 kB / 0.5129 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3211, allocations: 2.875 kB / 0.5129 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001115/0.3212, allocations: 123 kB / 0.513 GB, free: 33.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.273e-05/0.3213, allocations: 56.06 kB / 0.5131 GB, free: 33.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001513/0.3215, allocations: 80.12 kB / 0.5131 GB, free: 33.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.22e-07/0.3215, allocations: 0 / 0.5131 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002046/0.3217, allocations: 122.4 kB / 0.5132 GB, free: 33.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.3217, allocations: 9.312 kB / 0.5133 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.3218, allocations: 0 / 0.5133 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-06/0.3218, allocations: 4.312 kB / 0.5133 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.3219, allocations: 25.22 kB / 0.5133 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.3219, allocations: 0 / 0.5133 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.322, allocations: 15.97 kB / 0.5133 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.322, allocations: 6.594 kB / 0.5133 GB, free: 33.37 MB / 378.7 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 6.097e-05/0.322, allocations: 191.2 kB / 0.5135 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.3221, allocations: 13.59 kB / 0.5135 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.3221, allocations: 15.44 kB / 0.5135 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3221, allocations: 3.062 kB / 0.5135 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3221, allocations: 0 / 0.5135 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3221, allocations: 3.281 kB / 0.5135 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.3228, allocations: 0.5113 MB / 0.514 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3229, allocations: 0 / 0.514 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.323, allocations: 35.8 kB / 0.5141 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.323, allocations: 4 kB / 0.5141 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.323, allocations: 6.844 kB / 0.5141 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3231, allocations: 0 / 0.5141 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3231, allocations: 0 / 0.5141 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.3248, allocations: 1.47 MB / 0.5155 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.3248, allocations: 87.83 kB / 0.5156 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3249, allocations: 4 kB / 0.5156 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3251, allocations: 36.12 kB / 0.5156 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3252, allocations: 13.3 kB / 0.5156 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3252, allocations: 10.81 kB / 0.5156 GB, free: 31.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.3252, allocations: 122.6 kB / 0.5158 GB, free: 31.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3252, allocations: 0 / 0.5158 GB, free: 31.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000434/0.3257, allocations: 44.81 kB / 0.5158 GB, free: 31.42 MB / 378.7 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.0001015/0.3258, allocations: 97.75 kB / 0.5159 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005279/0.3263, allocations: 196.8 kB / 0.5161 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3263, allocations: 5.062 kB / 0.5161 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.3265, allocations: 74.33 kB / 0.5162 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3269, allocations: 43.41 kB / 0.5162 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.3275, allocations: 449.6 kB / 0.5166 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.3277, allocations: 0.7054 MB / 0.5173 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.921e-05/0.3278, allocations: 24.34 kB / 0.5173 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.3278, allocations: 15.75 kB / 0.5174 GB, free: 30.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3278, allocations: 0 / 0.5174 GB, free: 30.19 MB / 378.7 MB Notification: Performance of Templates: time 0.004064/0.3319, allocations: 2.235 MB / 0.5195 GB, free: 30.04 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches