Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 75.08 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1246, allocations: 62.45 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002767/0.1274, allocations: 1.683 MB / 483.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1289, allocations: 1.005 MB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.129, allocations: 0 / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.1293, allocations: 55.75 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1296, allocations: 99.58 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.1297, allocations: 71.69 kB / 484.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1299, allocations: 107.7 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.13, allocations: 8.234 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.819e-05/0.13, allocations: 43.78 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.1301, allocations: 47.77 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1302, allocations: 4 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.1302, allocations: 31.98 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.1303, allocations: 15.92 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1304, allocations: 35.73 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1305, allocations: 95.72 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1305, allocations: 0 / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1305, allocations: 7.938 kB / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1306, allocations: 4 kB / 484.8 MB, free: 1.184 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004706/0.131, allocations: 398 kB / 485.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1311, allocations: 12.03 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1311, allocations: 8.844 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1314, allocations: 216 kB / 485.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1314, allocations: 4.359 kB / 485.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1314, allocations: 4.125 kB / 485.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1316, allocations: 53.67 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1316, allocations: 0 / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1316, allocations: 0 / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1316, allocations: 0 / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.649e-05/0.1317, allocations: 15.98 kB / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.1319, allocations: 181.6 kB / 485.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.132, allocations: 54.56 kB / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.1321, allocations: 28.78 kB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1321, allocations: 4 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.1322, allocations: 63.39 kB / 485.8 MB, free: 0 / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1322, allocations: 0 / 485.8 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002732/0.1325, allocations: 93.59 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.1326, allocations: 59.39 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1327, allocations: 187.3 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1328, allocations: 29.64 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1328, allocations: 104.1 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1329, allocations: 11.81 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1329, allocations: 17.72 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.133, allocations: 322.8 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.1331, allocations: 15.98 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.1331, allocations: 41.61 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.1332, allocations: 37.66 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1332, allocations: 0 / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001442/0.1334, allocations: 93.45 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1334, allocations: 4 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1334, allocations: 160 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1334, allocations: 0 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.1335, allocations: 16.03 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1335, allocations: 3.984 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.1336, allocations: 3.984 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1336, allocations: 4 kB / 486.8 MB, free: 14.9 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 (7): * Single equations (assignments): 7 * 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 8.89e-05/0.1337, allocations: 121.8 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.1337, allocations: 11.81 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.1337, allocations: 16.98 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1338, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1338, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1338, allocations: 4 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.1339, allocations: 185.6 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1339, allocations: 320 / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.1339, allocations: 11.98 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1339, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.134, allocations: 3.938 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.134, allocations: 4 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.134, allocations: 0 / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1341, allocations: 113 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1342, allocations: 81.02 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1342, allocations: 4 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.1343, allocations: 3.984 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1343, allocations: 15.92 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1343, allocations: 0 / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1344, allocations: 139.9 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1344, allocations: 0 / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1347, allocations: 19.98 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008757/0.1356, allocations: 400 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1357, allocations: 39.92 kB / 488 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1357, allocations: 0 / 488 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.573e-05/0.1358, allocations: 19.98 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1361, allocations: 44.61 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.1364, allocations: 197.9 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1367, allocations: 0.701 MB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.29e-05/0.1367, allocations: 12.55 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.1368, allocations: 15.44 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1368, allocations: 0 / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Templates: time 0.003858/0.1407, allocations: 1.483 MB / 490.4 MB, free: 11.28 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches