Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 177.9 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008144/0.0008092, allocations: 96.61 kB / 295.1 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3534/0.3534, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3614, allocations: 61.9 MB / 0.5127 GB, free: 38.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001707/0.3631, allocations: 1.359 MB / 0.5141 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009373/0.3641, allocations: 0.5687 MB / 0.5146 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3642, allocations: 2.281 kB / 0.5146 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.3642, allocations: 3.938 kB / 0.5146 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.3644, allocations: 17.16 kB / 0.5146 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.3648, allocations: 132.1 kB / 0.5148 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.365, allocations: 145.3 kB / 0.5149 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3651, allocations: 23.5 kB / 0.5149 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3653, allocations: 68.3 kB / 0.515 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3654, allocations: 59.7 kB / 0.515 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3654, allocations: 8.406 kB / 0.5151 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.3655, allocations: 5.438 kB / 0.5151 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.3655, allocations: 23.7 kB / 0.5151 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.3656, allocations: 79.44 kB / 0.5152 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3657, allocations: 122.7 kB / 0.5153 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3657, allocations: 0 / 0.5153 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3657, allocations: 0 / 0.5153 GB, free: 36.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3657, allocations: 0 / 0.5153 GB, free: 36.28 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.0005886/0.3663, allocations: 447.6 kB / 0.5157 GB, free: 35.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3664, allocations: 12.12 kB / 0.5157 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.3665, allocations: 16.81 kB / 0.5157 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3667, allocations: 217.7 kB / 0.5159 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3667, allocations: 11.56 kB / 0.5159 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.3667, allocations: 11.81 kB / 0.516 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.3672, allocations: 190.5 kB / 0.5161 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3672, allocations: 0 / 0.5161 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3672, allocations: 7.031 kB / 0.5161 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3673, allocations: 0.7031 kB / 0.5161 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.3678, allocations: 157.1 kB / 0.5163 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.3688, allocations: 467.8 kB / 0.5167 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.3695, allocations: 256.3 kB / 0.517 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3697, allocations: 93.89 kB / 0.5171 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3698, allocations: 6.516 kB / 0.5171 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3698, allocations: 36.09 kB / 0.5171 GB, free: 35.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.3698, allocations: 0 / 0.5171 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001647/0.3714, allocations: 0.6614 MB / 0.5178 GB, free: 34.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3715, allocations: 104.9 kB / 0.5179 GB, free: 34.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3716, allocations: 158.3 kB / 0.518 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3717, allocations: 26.98 kB / 0.518 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.3717, allocations: 113.6 kB / 0.5181 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3718, allocations: 33.48 kB / 0.5182 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.3718, allocations: 0 / 0.5182 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.3718, allocations: 322 kB / 0.5185 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.3721, allocations: 87.22 kB / 0.5186 GB, free: 33.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.3724, allocations: 117.7 kB / 0.5187 GB, free: 33.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/0.373, allocations: 181.3 kB / 0.5189 GB, free: 33.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.373, allocations: 0 / 0.5189 GB, free: 33.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004978/0.3735, allocations: 225.1 kB / 0.5191 GB, free: 33.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.3736, allocations: 98.5 kB / 0.5192 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3736, allocations: 0 / 0.5192 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3736, allocations: 0 / 0.5192 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3738, allocations: 47.59 kB / 0.5192 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3738, allocations: 2.688 kB / 0.5192 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3739, allocations: 28.47 kB / 0.5192 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3739, allocations: 2.844 kB / 0.5192 GB, free: 33.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.374, allocations: 5.156 kB / 0.5192 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001906/0.3741, allocations: 100.3 kB / 0.5193 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.3742, allocations: 0 / 0.5193 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-06/0.3742, allocations: 0 / 0.5193 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.3743, allocations: 23.61 kB / 0.5194 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.3743, allocations: 7.938 kB / 0.5194 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.3744, allocations: 16.52 kB / 0.5194 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3744, allocations: 2.781 kB / 0.5194 GB, free: 33.64 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 7.813e-05/0.3744, allocations: 198.8 kB / 0.5196 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.3745, allocations: 13.88 kB / 0.5196 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.3745, allocations: 22.44 kB / 0.5196 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3745, allocations: 7.875 kB / 0.5196 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3746, allocations: 4 kB / 0.5196 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3746, allocations: 4 kB / 0.5196 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.3753, allocations: 0.5457 MB / 0.5202 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3753, allocations: 3.938 kB / 0.5202 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3755, allocations: 49.16 kB / 0.5202 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3755, allocations: 0 / 0.5202 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3755, allocations: 2.594 kB / 0.5202 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3755, allocations: 0 / 0.5202 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3755, allocations: 0 / 0.5202 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.3762, allocations: 419.6 kB / 0.5206 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3762, allocations: 91.8 kB / 0.5207 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3762, allocations: 2.906 kB / 0.5207 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.3765, allocations: 57.67 kB / 0.5208 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3765, allocations: 11.45 kB / 0.5208 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3765, allocations: 3.969 kB / 0.5208 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.289e-05/0.3766, allocations: 117 kB / 0.5209 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3766, allocations: 0 / 0.5209 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.3769, allocations: 35.53 kB / 0.5209 GB, free: 32.62 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 8.319e-05/0.377, allocations: 104.2 kB / 0.521 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000561/0.3776, allocations: 234.8 kB / 0.5212 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3776, allocations: 3 kB / 0.5212 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.3778, allocations: 99.42 kB / 0.5213 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3782, allocations: 35.09 kB / 0.5214 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.3788, allocations: 341.4 kB / 0.5217 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.379, allocations: 0.704 MB / 0.5224 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3791, allocations: 28.45 kB / 0.5224 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.3792, allocations: 16.44 kB / 0.5224 GB, free: 31.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3792, allocations: 3.938 kB / 0.5224 GB, free: 31.52 MB / 378.7 MB Notification: Performance of Templates: time 0.004296/0.3835, allocations: 2.076 MB / 0.5245 GB, free: 31.37 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/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