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/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 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 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 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|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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 104.4 kB / 16.27 MB, free: 6.051 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.001459/0.00146, allocations: 187.8 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2168/0.2168, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 61.38 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1288, allocations: 57.79 MB / 440.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003318/0.1322, allocations: 1.683 MB / 442.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1334, allocations: 0.6282 MB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1335, allocations: 11.94 kB / 442.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.924e-05/0.1336, allocations: 15.8 kB / 442.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.1337, allocations: 23.8 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.1341, allocations: 135.6 kB / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1343, allocations: 159.6 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1345, allocations: 33.33 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1346, allocations: 75.75 kB / 443.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1347, allocations: 59.69 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1347, allocations: 16 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.554e-05/0.1348, allocations: 12 kB / 443.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.1348, allocations: 35.89 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.1349, allocations: 63.59 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1351, allocations: 135.5 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1351, allocations: 4 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1351, allocations: 0 / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1351, allocations: 4 kB / 443.6 MB, free: 3.824 MB / 318.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.0007474/0.1359, allocations: 454.8 kB / 444 MB, free: 3.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1359, allocations: 15.89 kB / 444.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.136, allocations: 16.75 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1362, allocations: 216.9 kB / 444.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1363, allocations: 8.375 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1363, allocations: 12.38 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.1367, allocations: 184.3 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1367, allocations: 0 / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1368, allocations: 4 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1368, allocations: 4 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.1372, allocations: 123.9 kB / 444.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.138, allocations: 456.3 kB / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.1386, allocations: 198.4 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1388, allocations: 64.8 kB / 445.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1388, allocations: 4 kB / 445.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1389, allocations: 38.56 kB / 445.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/0.1389, allocations: 0 / 445.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001472/0.1404, allocations: 0.5721 MB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.1404, allocations: 114.7 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1406, allocations: 167.6 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1406, allocations: 25.7 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.1406, allocations: 108 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1407, allocations: 27.56 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.1407, allocations: 33.7 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.1408, allocations: 318.8 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.141, allocations: 76.8 kB / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.1412, allocations: 98.53 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.1416, allocations: 140.7 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1416, allocations: 0 / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004896/0.1421, allocations: 185.5 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1422, allocations: 8.875 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1422, allocations: 0 / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.1422, allocations: 4 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1424, allocations: 35.91 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1424, allocations: 0 / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.1426, allocations: 31.97 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1426, allocations: 0 / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001594/0.1428, allocations: 124.1 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001086/0.1429, allocations: 54.55 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001799/0.1431, allocations: 81.19 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.02e-07/0.1431, allocations: 0 / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002647/0.1433, allocations: 125.4 kB / 447.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.1434, allocations: 4 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.1434, allocations: 3.984 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-06/0.1434, allocations: 0 / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.1435, allocations: 27.98 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1435, allocations: 7.938 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.1436, allocations: 15.98 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1436, allocations: 0 / 447.7 MB, free: 15.38 MB / 334.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.0001218/0.1437, allocations: 184.3 kB / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.1438, allocations: 15.81 kB / 447.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.1438, allocations: 17.39 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1438, allocations: 3.938 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1439, allocations: 3.938 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1439, allocations: 7.984 kB / 447.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.1448, allocations: 0.5108 MB / 448.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.1448, allocations: 3.938 kB / 448.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.145, allocations: 31.97 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.145, allocations: 4 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1451, allocations: 4 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1451, allocations: 0 / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.1451, allocations: 4 kB / 448.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.1459, allocations: 356.1 kB / 448.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.146, allocations: 92.89 kB / 448.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.146, allocations: 8 kB / 448.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.1463, allocations: 35.95 kB / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.1463, allocations: 3.984 kB / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1464, allocations: 8.188 kB / 449 MB, free: 14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.1465, allocations: 132.3 kB / 449.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1465, allocations: 3.938 kB / 449.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1468, allocations: 36 kB / 449.2 MB, free: 13.83 MB / 334.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 0.00012/0.1469, allocations: 99.19 kB / 449.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006364/0.1476, allocations: 191.8 kB / 449.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1476, allocations: 0 / 449.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.1478, allocations: 79.88 kB / 449.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.1483, allocations: 46.38 kB / 449.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.1491, allocations: 306.1 kB / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1494, allocations: 0.7085 MB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.1495, allocations: 20.88 kB / 450.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.1496, allocations: 15.44 kB / 450.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1496, allocations: 0 / 450.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Templates: time 0.004988/0.1546, allocations: 2.269 MB / 452.9 MB, free: 10.07 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches