Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1975/0.1975, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 64.92 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1242, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003733/0.1279, allocations: 1.879 MB / 471.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1298, allocations: 0.9938 MB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.13, allocations: 4 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.1305, allocations: 215.4 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.1309, allocations: 175.4 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.1314, allocations: 178.5 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.1318, allocations: 239.3 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1319, allocations: 33.66 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1321, allocations: 115.6 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1323, allocations: 151.5 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.1324, allocations: 8 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1325, allocations: 63.97 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.1326, allocations: 55.83 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.971e-05/0.1327, allocations: 91.22 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.1331, allocations: 227.5 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1331, allocations: 3.938 kB / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1331, allocations: 4 kB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1331, allocations: 0 / 474.3 MB, free: 9.949 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008412/0.134, allocations: 0.5516 MB / 474.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.134, allocations: 12.02 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.1341, allocations: 24.66 kB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.1345, allocations: 276.1 kB / 475.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1345, allocations: 4.375 kB / 475.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1346, allocations: 16.11 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.1349, allocations: 107.4 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1349, allocations: 7.906 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1349, allocations: 3.984 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1349, allocations: 3.938 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.1351, allocations: 51.91 kB / 475.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.1357, allocations: 472.7 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.1362, allocations: 125.2 kB / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1363, allocations: 41.83 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1363, allocations: 4 kB / 476 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.1367, allocations: 117.2 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.1367, allocations: 0 / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00136/0.138, allocations: 0.4967 MB / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1381, allocations: 81.11 kB / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.1386, allocations: 436.4 kB / 477.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1386, allocations: 33.7 kB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.1387, allocations: 152.5 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.1388, allocations: 67.09 kB / 477.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.1389, allocations: 45.7 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.139, allocations: 338.8 kB / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1391, allocations: 63.97 kB / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1393, allocations: 91.34 kB / 477.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.1396, allocations: 155.3 kB / 478.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1396, allocations: 4 kB / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003856/0.14, allocations: 229.4 kB / 478.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.14, allocations: 11.94 kB / 478.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.14, allocations: 0 / 478.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.14, allocations: 3.984 kB / 478.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1402, allocations: 47.91 kB / 478.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1402, allocations: 4 kB / 478.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.633e-05/0.1403, allocations: 11.94 kB / 478.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1403, allocations: 8.062 kB / 478.4 MB, free: 5.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001573/0.1405, allocations: 173.7 kB / 478.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.1405, allocations: 35.56 kB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.913e-05/0.1406, allocations: 46.83 kB / 478.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1406, allocations: 0 / 478.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1406, allocations: 7.938 kB / 478.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1406, allocations: 0 / 478.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.1415, allocations: 0.7272 MB / 479.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1416, allocations: 4 kB / 479.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.1417, allocations: 27.98 kB / 479.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1417, allocations: 3.938 kB / 479.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1417, allocations: 7.984 kB / 479.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1417, allocations: 8.125 kB / 479.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1417, allocations: 0 / 479.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.1422, allocations: 425.7 kB / 479.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.1423, allocations: 104.7 kB / 479.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1423, allocations: 8 kB / 479.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1425, allocations: 4 kB / 479.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.1425, allocations: 23.91 kB / 480 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1426, allocations: 12 kB / 480 MB, free: 3.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003012/0.1429, allocations: 323 kB / 480.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1429, allocations: 0 / 480.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.1432, allocations: 52 kB / 480.3 MB, free: 3.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.1444, allocations: 0.5101 MB / 480.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.1448, allocations: 163.8 kB / 481 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1448, allocations: 0 / 481 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.145, allocations: 88.16 kB / 481.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.1456, allocations: 64.7 kB / 481.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.1466, allocations: 0.5892 MB / 481.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1469, allocations: 0.7636 MB / 482.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.147, allocations: 35.42 kB / 482.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.147, allocations: 4 kB / 482.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Templates: time 0.006654/0.1537, allocations: 3.65 MB / 486.2 MB, free: 13.83 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time