Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, 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.001396/0.001396, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, 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.2243/0.2243, allocations: 46.12 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 81.52 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1225, allocations: 62.46 MB / 480.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003366/0.1259, allocations: 1.744 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1277, allocations: 1.021 MB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.1278, allocations: 4 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1281, allocations: 47.75 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1285, allocations: 99.52 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1287, allocations: 83.73 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1289, allocations: 131.5 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.129, allocations: 19.97 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.1291, allocations: 55.73 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.1292, allocations: 51.81 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1293, allocations: 4 kB / 483.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1294, allocations: 55.98 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.1294, allocations: 31.91 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.1295, allocations: 47.67 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1297, allocations: 147.8 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1297, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1298, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1298, allocations: 0 / 483.6 MB, free: 1.703 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005189/0.1303, allocations: 430.9 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1303, allocations: 8.031 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.1304, allocations: 24.67 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1306, allocations: 228.1 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1307, allocations: 384 / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.1307, allocations: 8.125 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1309, allocations: 73.59 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1309, allocations: 0 / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1309, allocations: 4 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1309, allocations: 4 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.131, allocations: 39.97 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1315, allocations: 336.5 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1318, allocations: 78.55 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.1319, allocations: 28.84 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1319, allocations: 4 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.1321, allocations: 83.41 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1322, allocations: 4 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008798/0.133, allocations: 289 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1331, allocations: 67.27 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1333, allocations: 186.4 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1333, allocations: 29.7 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.1334, allocations: 108.3 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.1334, allocations: 43.55 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1335, allocations: 33.72 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1336, allocations: 322.8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1337, allocations: 43.97 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.1338, allocations: 52.38 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1339, allocations: 101 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.134, allocations: 0 / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002634/0.1342, allocations: 157.4 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1343, allocations: 7.938 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1343, allocations: 0 / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1343, allocations: 3.984 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.1344, allocations: 27.94 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1344, allocations: 7.922 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.1345, allocations: 7.984 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1345, allocations: 8 kB / 486.4 MB, free: 14.68 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 (15): * Single equations (assignments): 15 * 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.0001094/0.1346, allocations: 133.9 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1346, allocations: 11.91 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.1347, allocations: 21.53 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1347, allocations: 0 / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1347, allocations: 3.938 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1347, allocations: 4.828 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.1353, allocations: 495.9 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1353, allocations: 4 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.1354, allocations: 15.98 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1354, allocations: 4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1354, allocations: 7.938 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1354, allocations: 4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1354, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.1357, allocations: 265 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.1358, allocations: 88.95 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1358, allocations: 4 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.1359, allocations: 7.984 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1359, allocations: 11.98 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.136, allocations: 4 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1361, allocations: 152.8 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1361, allocations: 4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1364, allocations: 31.91 kB / 487.7 MB, free: 13.32 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 (13): * Single equations (assignments): 11 * 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.001154/0.1375, allocations: 0.5069 MB / 488.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.1378, allocations: 103.9 kB / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1378, allocations: 0 / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.1379, allocations: 51.91 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1383, allocations: 43.05 kB / 488.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.1388, allocations: 284.5 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1392, allocations: 0.7162 MB / 489.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.189e-05/0.1392, allocations: 25.41 kB / 489.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.1393, allocations: 19.44 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1393, allocations: 4 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.005229/0.1445, allocations: 2.157 MB / 491.6 MB, free: 9.562 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches