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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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|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|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.27 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003136/0.1179, allocations: 1.669 MB / 472.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1191, allocations: 0.6079 MB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1192, allocations: 0 / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.557e-05/0.1192, allocations: 7.875 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.1194, allocations: 19.8 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.1199, allocations: 147.4 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1201, allocations: 151.7 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1203, allocations: 33.41 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1204, allocations: 67.72 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1205, allocations: 67.72 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1206, allocations: 12 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.432e-05/0.1206, allocations: 12 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.1206, allocations: 31.92 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.1207, allocations: 63.64 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1209, allocations: 135.6 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1209, allocations: 0 / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1209, allocations: 3.938 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.121, allocations: 0 / 473.7 MB, free: 10.62 MB / 350.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.0006916/0.1217, allocations: 451 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1217, allocations: 12.03 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.1218, allocations: 20.73 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1221, allocations: 216.5 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1221, allocations: 8.375 kB / 474.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1221, allocations: 8.125 kB / 474.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.1226, allocations: 180.1 kB / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1226, allocations: 0 / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1226, allocations: 0 / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1226, allocations: 4 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.123, allocations: 119.9 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.1238, allocations: 456.3 kB / 475.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.1244, allocations: 194.4 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.1246, allocations: 80.78 kB / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1246, allocations: 3.938 kB / 475.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1247, allocations: 34.56 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1247, allocations: 0 / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001397/0.1261, allocations: 0.572 MB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.1262, allocations: 102.8 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1263, allocations: 154.2 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1263, allocations: 29.7 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.1264, allocations: 116 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1264, allocations: 31.55 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.1265, allocations: 25.7 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1266, allocations: 322.8 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.1268, allocations: 68.8 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1271, allocations: 94.52 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.1275, allocations: 144.7 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1275, allocations: 0 / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004653/0.1279, allocations: 185.6 kB / 477.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.128, allocations: 8 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.128, allocations: 7.938 kB / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.128, allocations: 3.938 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1282, allocations: 39.95 kB / 477.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1282, allocations: 0 / 477.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1283, allocations: 23.97 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1284, allocations: 0 / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001487/0.1285, allocations: 128.1 kB / 477.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001064/0.1286, allocations: 58.48 kB / 477.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001821/0.1288, allocations: 68.83 kB / 477.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.083e-06/0.1288, allocations: 4 kB / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000249/0.1291, allocations: 125.4 kB / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.1291, allocations: 4 kB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-06/0.1291, allocations: 0 / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.1291, allocations: 3.938 kB / 477.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.1292, allocations: 23.98 kB / 477.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.1292, allocations: 0 / 477.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1293, allocations: 23.97 kB / 477.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1294, allocations: 0 / 477.8 MB, free: 6.207 MB / 350.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.0001033/0.1295, allocations: 193.5 kB / 478 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.1295, allocations: 11.91 kB / 478 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.1296, allocations: 20.64 kB / 478 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1296, allocations: 0 / 478 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1296, allocations: 3.938 kB / 478 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1296, allocations: 0 / 478 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008415/0.1304, allocations: 0.5152 MB / 478.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1304, allocations: 0 / 478.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.1306, allocations: 31.97 kB / 478.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1306, allocations: 0 / 478.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1307, allocations: 12.03 kB / 478.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.1307, allocations: 0 / 478.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1307, allocations: 0 / 478.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.1314, allocations: 360 kB / 478.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.1315, allocations: 85.05 kB / 479 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1315, allocations: 4 kB / 479 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.1318, allocations: 40.02 kB / 479 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1318, allocations: 11.92 kB / 479.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1319, allocations: 15.92 kB / 479.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.132, allocations: 115.2 kB / 479.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 0 / 479.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.1323, allocations: 36 kB / 479.2 MB, free: 4.668 MB / 350.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.786e-05/0.1324, allocations: 95.23 kB / 479.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.133, allocations: 195.9 kB / 479.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.133, allocations: 0 / 479.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.1332, allocations: 87.92 kB / 479.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1336, allocations: 40.28 kB / 479.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.1342, allocations: 284.5 kB / 479.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1345, allocations: 0.7046 MB / 480.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.93e-05/0.1346, allocations: 16.86 kB / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1347, allocations: 15.44 kB / 480.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1347, allocations: 8 kB / 480.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of Templates: time 0.005175/0.1399, allocations: 2.263 MB / 482.9 MB, free: 0.9453 MB / 350.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches