Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 78.81 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003287/0.1312, allocations: 1.738 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1328, allocations: 1.029 MB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.1329, allocations: 7.938 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.1332, allocations: 107.7 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1336, allocations: 119.5 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1337, allocations: 83.66 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.134, allocations: 131.7 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1341, allocations: 23.95 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.1342, allocations: 55.78 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1343, allocations: 71.69 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1343, allocations: 4 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1344, allocations: 67.95 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.1345, allocations: 31.86 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.1346, allocations: 43.67 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.1349, allocations: 159.7 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1349, allocations: 4 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1349, allocations: 0 / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1349, allocations: 0 / 483.7 MB, free: 1.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006023/0.1355, allocations: 454.6 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1356, allocations: 8.031 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.1356, allocations: 12.84 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1359, allocations: 224.9 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1359, allocations: 12.31 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.1359, allocations: 8.125 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1361, allocations: 73.59 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1362, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1362, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1362, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.1363, allocations: 35.97 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.1367, allocations: 312.7 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.137, allocations: 82.58 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.1371, allocations: 24.84 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1371, allocations: 0 / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.1373, allocations: 83.52 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.1373, allocations: 0 / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008465/0.1382, allocations: 268.8 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1383, allocations: 63.28 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.1385, allocations: 255.8 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1385, allocations: 29.7 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.1386, allocations: 112.1 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.1387, allocations: 35.45 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.1387, allocations: 29.72 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1389, allocations: 334.8 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.139, allocations: 31.98 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.1391, allocations: 49.7 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1392, allocations: 93.69 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1393, allocations: 4 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002344/0.1395, allocations: 145.4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1395, allocations: 8.031 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1395, allocations: 0 / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1395, allocations: 0 / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.1396, allocations: 27.92 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1397, allocations: 4.641 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.1397, allocations: 8 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1397, allocations: 4 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001173/0.1399, allocations: 137.8 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1399, allocations: 15.81 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.14, allocations: 29.39 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.14, allocations: 3.938 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.14, allocations: 7.875 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.14, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.1406, allocations: 479.9 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.1406, allocations: 7.984 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.1406, allocations: 16.06 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1407, allocations: 4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1407, allocations: 4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1407, allocations: 3.938 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1407, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.141, allocations: 249 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1411, allocations: 92.92 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.1411, allocations: 11.98 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.1412, allocations: 0 / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.1412, allocations: 11.92 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1413, allocations: 8 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1414, allocations: 197.4 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1414, allocations: 0 / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1417, allocations: 35.98 kB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001197/0.1429, allocations: 0.5057 MB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.1432, allocations: 99.78 kB / 488.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1432, allocations: 0 / 488.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1433, allocations: 47.91 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1437, allocations: 31.92 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.1443, allocations: 320.8 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1446, allocations: 0.7201 MB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.332e-05/0.1447, allocations: 21.06 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.1448, allocations: 27.42 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1448, allocations: 0 / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of Templates: time 0.005039/0.1498, allocations: 2.084 MB / 491.6 MB, free: 9.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches