Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001241/0.001241, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.466/1.466, allocations: 222.9 MB / 243 MB, free: 15.07 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.2522/0.2522, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.86 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003264/0.1446, allocations: 1.71 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1461, allocations: 0.8924 MB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.1461, allocations: 0 / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.1465, allocations: 107.7 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1468, allocations: 87.69 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1471, allocations: 115.4 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1473, allocations: 115.7 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1474, allocations: 19.97 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.1475, allocations: 51.78 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1476, allocations: 59.81 kB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1476, allocations: 7.938 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1478, allocations: 63.95 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.1478, allocations: 31.86 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.1479, allocations: 39.69 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.1481, allocations: 143.5 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1482, allocations: 0 / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1482, allocations: 0 / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.1482, allocations: 0 / 474.1 MB, free: 10.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005829/0.1488, allocations: 433.8 kB / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1488, allocations: 8.031 kB / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1489, allocations: 16.84 kB / 474.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1492, allocations: 228.6 kB / 474.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1492, allocations: 4.375 kB / 474.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1492, allocations: 12.12 kB / 474.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1494, allocations: 53.67 kB / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1494, allocations: 0 / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1494, allocations: 7.938 kB / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1494, allocations: 0 / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.1495, allocations: 23.97 kB / 474.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.1499, allocations: 312.7 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.1502, allocations: 62.55 kB / 475.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.1502, allocations: 20.92 kB / 475.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1503, allocations: 4 kB / 475.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.1504, allocations: 75.31 kB / 475.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.1504, allocations: 4 kB / 475.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007297/0.1512, allocations: 241.5 kB / 475.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1512, allocations: 55.34 kB / 475.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.1515, allocations: 242.3 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1515, allocations: 29.7 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.1516, allocations: 108.1 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.1516, allocations: 35.55 kB / 476.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.1517, allocations: 29.72 kB / 476.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1518, allocations: 326.8 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.1519, allocations: 27.98 kB / 476.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.152, allocations: 45.7 kB / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1521, allocations: 81.64 kB / 476.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1521, allocations: 4 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002098/0.1524, allocations: 133.4 kB / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1524, allocations: 8 kB / 476.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1524, allocations: 0 / 476.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1524, allocations: 0 / 476.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.1525, allocations: 19.98 kB / 476.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1525, allocations: 8.172 kB / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.1526, allocations: 0 / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1526, allocations: 7.984 kB / 476.8 MB, free: 7.355 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001154/0.1527, allocations: 141.9 kB / 476.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1527, allocations: 11.81 kB / 476.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1528, allocations: 25.33 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1528, allocations: 4 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1528, allocations: 3.938 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1528, allocations: 3.984 kB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.1533, allocations: 460 kB / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1533, allocations: 96 / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.1534, allocations: 19.88 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1534, allocations: 3.938 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1534, allocations: 7.984 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1534, allocations: 4 kB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1534, allocations: 0 / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1537, allocations: 233.1 kB / 477.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1538, allocations: 92.92 kB / 477.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1538, allocations: 3.984 kB / 477.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.1539, allocations: 4 kB / 477.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1539, allocations: 11.98 kB / 477.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1539, allocations: 4 kB / 477.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1541, allocations: 188.3 kB / 477.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1541, allocations: 0 / 477.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1544, allocations: 32 kB / 478 MB, free: 6.016 MB / 350.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 (11): * Single equations (assignments): 9 * 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.00117/0.1555, allocations: 0.4931 MB / 478.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1557, allocations: 83.91 kB / 478.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1558, allocations: 0 / 478.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.1559, allocations: 39.92 kB / 478.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1562, allocations: 42.97 kB / 478.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.1568, allocations: 304.5 kB / 478.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1571, allocations: 0.7193 MB / 479.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.1572, allocations: 24.62 kB / 479.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.1572, allocations: 23.38 kB / 479.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1572, allocations: 0 / 479.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of Templates: time 0.004945/0.1622, allocations: 1.954 MB / 481.7 MB, free: 2.5 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches