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.0008774/0.0008774, allocations: 93.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.206/0.206, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002554, allocations: 11.94 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002202/0.1288, allocations: 1.47 MB / 485.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1306, allocations: 0.9903 MB / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.666e-05/0.1307, allocations: 0 / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.131, allocations: 47.83 kB / 486.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1314, allocations: 87.66 kB / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1316, allocations: 63.83 kB / 486.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1318, allocations: 123.7 kB / 486.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1319, allocations: 16 kB / 486.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1321, allocations: 47.77 kB / 486.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.985e-05/0.1322, allocations: 47.72 kB / 486.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1322, allocations: 0 / 486.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1323, allocations: 63.95 kB / 486.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.1324, allocations: 23.92 kB / 486.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.1325, allocations: 65.38 kB / 486.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1327, allocations: 112 kB / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1327, allocations: 0 / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1327, allocations: 0 / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1327, allocations: 0 / 486.9 MB, free: 1 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.0005614/0.1333, allocations: 422.9 kB / 487.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1334, allocations: 12.03 kB / 487.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.1334, allocations: 12.75 kB / 487.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.1337, allocations: 216.1 kB / 487.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1337, allocations: 4.375 kB / 487.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1338, allocations: 8.125 kB / 487.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1339, allocations: 77.59 kB / 487.6 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1339, allocations: 8 kB / 487.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.134, allocations: 3.984 kB / 487.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.134, allocations: 0 / 487.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1341, allocations: 39.97 kB / 487.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1346, allocations: 328.6 kB / 488 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.1348, allocations: 82.56 kB / 488.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.1349, allocations: 36.84 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.135, allocations: 0 / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1352, allocations: 83.31 kB / 488.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1352, allocations: 7.938 kB / 488.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008663/0.1361, allocations: 289 kB / 488.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1361, allocations: 59.34 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1363, allocations: 190.9 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1364, allocations: 37.69 kB / 488.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.1364, allocations: 100.4 kB / 488.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.1365, allocations: 51.44 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.1365, allocations: 25.64 kB / 488.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1366, allocations: 326.8 kB / 489.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.1367, allocations: 35.98 kB / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.1369, allocations: 57.69 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.137, allocations: 93.7 kB / 489.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1371, allocations: 4 kB / 489.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003463/0.1374, allocations: 149.5 kB / 489.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1374, allocations: 4 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1375, allocations: 0 / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1375, allocations: 3.984 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1376, allocations: 32.02 kB / 489.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.1376, allocations: 7.938 kB / 489.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.1377, allocations: 3.938 kB / 489.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1377, allocations: 4 kB / 489.6 MB, free: 14 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.0001563/0.1379, allocations: 129.8 kB / 489.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.1379, allocations: 19.81 kB / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.138, allocations: 21.52 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.138, allocations: 0.8438 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.138, allocations: 3.938 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.138, allocations: 4 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.1387, allocations: 491.8 kB / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1387, allocations: 4 kB / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.1388, allocations: 16 kB / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1388, allocations: 4 kB / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1388, allocations: 0 / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.1388, allocations: 12.05 kB / 490.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1388, allocations: 3.938 kB / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.1392, allocations: 260.9 kB / 490.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1393, allocations: 85.02 kB / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.1393, allocations: 8 kB / 490.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1394, allocations: 7.984 kB / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.1394, allocations: 12 kB / 490.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1395, allocations: 7.984 kB / 490.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1396, allocations: 144.3 kB / 490.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1396, allocations: 0 / 490.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1399, allocations: 36 kB / 490.9 MB, free: 12.64 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.001237/0.1411, allocations: 0.498 MB / 491.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.1414, allocations: 99.91 kB / 491.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1414, allocations: 0 / 491.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1415, allocations: 55.86 kB / 491.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1419, allocations: 34.91 kB / 491.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.1425, allocations: 357.4 kB / 491.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1429, allocations: 0.7087 MB / 492.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.1429, allocations: 27.42 kB / 492.7 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1429, allocations: 0 / 492.7 MB, free: 11 MB / 366.1 MB Notification: Performance of Templates: time 0.004879/0.1478, allocations: 2.368 MB / 495 MB, free: 8.637 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches