Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009725/0.0009724, allocations: 94.22 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3058/0.3058, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 59.91 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09843, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002827/0.1013, allocations: 1.742 MB / 488.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1023, allocations: 0.6437 MB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1025, allocations: 3.938 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.1026, allocations: 11.92 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1027, allocations: 19.86 kB / 489.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.1031, allocations: 115.9 kB / 489.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1033, allocations: 151.6 kB / 489.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1034, allocations: 45.36 kB / 489.7 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1036, allocations: 67.7 kB / 489.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1037, allocations: 59.75 kB / 489.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1037, allocations: 8 kB / 489.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.393e-05/0.1037, allocations: 8 kB / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.1038, allocations: 27.89 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.1038, allocations: 55.66 kB / 489.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.104, allocations: 131.5 kB / 490.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.104, allocations: 0 / 490.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.104, allocations: 0 / 490.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.104, allocations: 0 / 490.1 MB, free: 9.445 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.000656/0.1047, allocations: 462.9 kB / 490.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1047, allocations: 8.031 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.1048, allocations: 20.75 kB / 490.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.105, allocations: 220.1 kB / 490.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.105, allocations: 8.375 kB / 490.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1051, allocations: 12.36 kB / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.1054, allocations: 184.3 kB / 491 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1055, allocations: 0 / 491 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1055, allocations: 4 kB / 491 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1055, allocations: 7.938 kB / 491 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.1059, allocations: 123.9 kB / 491.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.1067, allocations: 460.3 kB / 491.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.1073, allocations: 190.4 kB / 491.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1075, allocations: 76.73 kB / 491.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1076, allocations: 4 kB / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1076, allocations: 34.56 kB / 491.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1076, allocations: 0 / 491.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001504/0.1091, allocations: 0.5564 MB / 492.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.1092, allocations: 118.7 kB / 492.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1094, allocations: 166.4 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1094, allocations: 29.7 kB / 492.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.1095, allocations: 108.2 kB / 492.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.1095, allocations: 31.55 kB / 492.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.1096, allocations: 29.7 kB / 492.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1098, allocations: 322.8 kB / 493.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.11, allocations: 76.8 kB / 493.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1103, allocations: 94.5 kB / 493.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.1107, allocations: 141 kB / 493.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1107, allocations: 0 / 493.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004753/0.1112, allocations: 189.4 kB / 493.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1112, allocations: 4 kB / 493.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1112, allocations: 3.938 kB / 493.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1112, allocations: 0 / 493.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1114, allocations: 39.91 kB / 493.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1114, allocations: 0 / 493.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1116, allocations: 27.97 kB / 493.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1116, allocations: 4 kB / 493.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001572/0.1118, allocations: 120.1 kB / 493.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001113/0.1119, allocations: 55.09 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001863/0.1121, allocations: 84.78 kB / 494 MB, free: 5.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.1121, allocations: 0 / 494 MB, free: 5.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002511/0.1123, allocations: 121.4 kB / 494.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1124, allocations: 7.984 kB / 494.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1124, allocations: 3.984 kB / 494.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-06/0.1124, allocations: 384 / 494.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.1125, allocations: 19.98 kB / 494.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1125, allocations: 7.922 kB / 494.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/0.1126, allocations: 23.98 kB / 494.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1126, allocations: 3.938 kB / 494.2 MB, free: 4.988 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 0.0001162/0.1127, allocations: 192.1 kB / 494.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.1128, allocations: 11.91 kB / 494.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1128, allocations: 13.39 kB / 494.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1129, allocations: 7.938 kB / 494.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1129, allocations: 0 / 494.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1129, allocations: 0 / 494.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.1137, allocations: 0.5185 MB / 494.9 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1138, allocations: 7.969 kB / 494.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1139, allocations: 35.97 kB / 495 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1139, allocations: 0 / 495 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.1139, allocations: 4 kB / 495 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.114, allocations: 0 / 495 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.114, allocations: 0 / 495 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.1162, allocations: 1.469 MB / 496.5 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1162, allocations: 84.92 kB / 496.5 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1162, allocations: 7.984 kB / 496.5 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1165, allocations: 44.05 kB / 496.6 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1166, allocations: 4 kB / 496.6 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1166, allocations: 3.984 kB / 496.6 MB, free: 2.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.1167, allocations: 131.2 kB / 496.7 MB, free: 2.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1167, allocations: 0 / 496.7 MB, free: 2.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004602/0.1171, allocations: 47.94 kB / 496.8 MB, free: 2.188 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.0001121/0.1173, allocations: 95.23 kB / 496.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.1178, allocations: 196.1 kB / 497.1 MB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1179, allocations: 3.938 kB / 497.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.1181, allocations: 79.98 kB / 497.1 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.1185, allocations: 40.75 kB / 497.2 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.1192, allocations: 457.5 kB / 497.6 MB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1195, allocations: 0.7127 MB / 498.3 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1196, allocations: 16.88 kB / 498.4 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.1197, allocations: 23.42 kB / 498.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1197, allocations: 0 / 498.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of Templates: time 0.004825/0.1245, allocations: 2.248 MB / 0.4889 GB, free: 14.27 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches