Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001302, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 73.12 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.123, allocations: 62.46 MB / 481.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003056/0.1261, allocations: 1.681 MB / 483.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1275, allocations: 0.6584 MB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1276, allocations: 0 / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.65e-05/0.1277, allocations: 11.86 kB / 483.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1278, allocations: 23.75 kB / 483.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.1283, allocations: 155.6 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1286, allocations: 151.7 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1287, allocations: 33.09 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1289, allocations: 75.7 kB / 484.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.129, allocations: 63.73 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.129, allocations: 12 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.1291, allocations: 20 kB / 484.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.1292, allocations: 39.77 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.1292, allocations: 55.73 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1294, allocations: 139.5 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1294, allocations: 0 / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1295, allocations: 4 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1295, allocations: 0 / 484.6 MB, free: 1.395 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.0006739/0.1302, allocations: 454.9 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1302, allocations: 8.031 kB / 485 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.1304, allocations: 32.73 kB / 485 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1307, allocations: 228.1 kB / 485.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1307, allocations: 4.375 kB / 485.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.1308, allocations: 8.375 kB / 485.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.1312, allocations: 176.3 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1312, allocations: 4 kB / 485.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1312, allocations: 8 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1312, allocations: 0 / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.1316, allocations: 123.9 kB / 485.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.1324, allocations: 460.4 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.1329, allocations: 198.4 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1331, allocations: 68.8 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1331, allocations: 8 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1332, allocations: 30.56 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1332, allocations: 0 / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001352/0.1345, allocations: 0.5757 MB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.1346, allocations: 106.8 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1347, allocations: 159.3 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1348, allocations: 33.64 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.1348, allocations: 108.1 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1349, allocations: 31.7 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.1349, allocations: 25.7 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1351, allocations: 326.8 kB / 487.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.1353, allocations: 72.8 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.1355, allocations: 94.5 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.1358, allocations: 136.7 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1358, allocations: 0 / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004328/0.1363, allocations: 193.4 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1363, allocations: 6.812 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1363, allocations: 4 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1363, allocations: 0 / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1365, allocations: 43.84 kB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1365, allocations: 384 / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1367, allocations: 23.97 kB / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1367, allocations: 0 / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001419/0.1368, allocations: 124.1 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001007/0.1369, allocations: 62.48 kB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001587/0.1371, allocations: 76.75 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.1371, allocations: 0 / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002222/0.1374, allocations: 121.4 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.1374, allocations: 4 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.1374, allocations: 3.984 kB / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.1374, allocations: 4.031 kB / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.1375, allocations: 27.98 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1375, allocations: 3.938 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.1376, allocations: 11.98 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1376, allocations: 0 / 488.7 MB, free: 12.95 MB / 366.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.0001271/0.1377, allocations: 184.3 kB / 488.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1378, allocations: 15.81 kB / 488.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.1378, allocations: 21.39 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1378, allocations: 3.938 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1379, allocations: 4 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1379, allocations: 0 / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008218/0.1387, allocations: 0.5075 MB / 489.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1387, allocations: 7.922 kB / 489.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1389, allocations: 35.91 kB / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1389, allocations: 288 / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1389, allocations: 4 kB / 489.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1389, allocations: 0 / 489.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1389, allocations: 3.938 kB / 489.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.1396, allocations: 364.1 kB / 489.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.1397, allocations: 92.98 kB / 489.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1397, allocations: 0 / 489.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.14, allocations: 35.95 kB / 489.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.14, allocations: 16.05 kB / 489.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.14, allocations: 4 kB / 490 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.584e-05/0.1401, allocations: 120 kB / 490.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1401, allocations: 0 / 490.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1404, allocations: 32 kB / 490.1 MB, free: 11.41 MB / 366.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.0001122/0.1406, allocations: 99.19 kB / 490.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005527/0.1411, allocations: 199.8 kB / 490.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1411, allocations: 0 / 490.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.1413, allocations: 83.81 kB / 490.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1418, allocations: 46.34 kB / 490.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.1424, allocations: 280.4 kB / 490.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1426, allocations: 0.7085 MB / 491.5 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.857e-05/0.1427, allocations: 20.86 kB / 491.5 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.1428, allocations: 19.44 kB / 491.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1428, allocations: 0 / 491.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of Templates: time 0.00497/0.1478, allocations: 2.272 MB / 493.8 MB, free: 7.648 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches