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.001053/0.001053, allocations: 93.14 kB / 17.35 MB, free: 6.344 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.001168/0.001168, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.578/1.578, allocations: 223.2 MB / 242.3 MB, free: 268 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 44.25 MB / 337.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 12 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 61.93 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00275/0.135, allocations: 1.588 MB / 473.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1367, allocations: 0.9473 MB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.1368, allocations: 11.94 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.1373, allocations: 211.5 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.1376, allocations: 155.5 kB / 475.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.1381, allocations: 162.3 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.1385, allocations: 227.3 kB / 475.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1386, allocations: 29.66 kB / 475.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1388, allocations: 103.5 kB / 475.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.139, allocations: 147.5 kB / 475.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.139, allocations: 4 kB / 475.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1392, allocations: 55.98 kB / 475.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1393, allocations: 59.81 kB / 475.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1394, allocations: 109 kB / 476 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.1397, allocations: 223.4 kB / 476.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.1398, allocations: 0 / 476.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1398, allocations: 7.875 kB / 476.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1398, allocations: 0 / 476.3 MB, free: 9.348 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.000761/0.1405, allocations: 0.51 MB / 476.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1406, allocations: 16.02 kB / 476.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.1407, allocations: 24.66 kB / 476.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.141, allocations: 276.1 kB / 477.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.141, allocations: 8.359 kB / 477.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1411, allocations: 16.03 kB / 477.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.1413, allocations: 107.3 kB / 477.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1414, allocations: 4 kB / 477.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1414, allocations: 7.984 kB / 477.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1414, allocations: 4 kB / 477.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1416, allocations: 51.84 kB / 477.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.1422, allocations: 468.7 kB / 477.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.1426, allocations: 125.2 kB / 477.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1427, allocations: 45.83 kB / 477.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.1427, allocations: 4.141 kB / 477.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.143, allocations: 121 kB / 478 MB, free: 7.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.143, allocations: 0 / 478 MB, free: 7.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00132/0.1444, allocations: 0.4922 MB / 478.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.1444, allocations: 81.11 kB / 478.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.1449, allocations: 428.5 kB / 479 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1449, allocations: 41.64 kB / 479.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.145, allocations: 152.5 kB / 479.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.1451, allocations: 71.03 kB / 479.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1451, allocations: 21.72 kB / 479.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1453, allocations: 346.8 kB / 479.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1454, allocations: 55.97 kB / 479.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1456, allocations: 91.34 kB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.1458, allocations: 155.4 kB / 479.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1458, allocations: 4 kB / 479.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003825/0.1462, allocations: 229.5 kB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1463, allocations: 10.59 kB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1463, allocations: 4.062 kB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1463, allocations: 4 kB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1465, allocations: 43.92 kB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1465, allocations: 3.984 kB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/0.1466, allocations: 11.94 kB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.1466, allocations: 12 kB / 480.3 MB, free: 5.078 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.0001453/0.1467, allocations: 170.3 kB / 480.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.1468, allocations: 31.56 kB / 480.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.1469, allocations: 42.62 kB / 480.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1469, allocations: 7.938 kB / 480.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1469, allocations: 0 / 480.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1469, allocations: 7.922 kB / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.1478, allocations: 0.7311 MB / 481.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1478, allocations: 0 / 481.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.1479, allocations: 27.98 kB / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1479, allocations: 4 kB / 481.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1479, allocations: 8 kB / 481.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-05/0.148, allocations: 7.938 kB / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.148, allocations: 0 / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.1485, allocations: 429.8 kB / 481.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.1486, allocations: 104.7 kB / 481.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.1486, allocations: 8 kB / 481.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1488, allocations: 11.98 kB / 481.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.1488, allocations: 23.92 kB / 481.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1489, allocations: 15.98 kB / 481.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003692/0.1492, allocations: 315 kB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1493, allocations: 0 / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1496, allocations: 51.98 kB / 482.2 MB, free: 2.98 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.001187/0.1508, allocations: 0.5178 MB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.1511, allocations: 159.8 kB / 482.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1511, allocations: 0 / 482.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.1513, allocations: 84.03 kB / 483 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.1519, allocations: 64.08 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.1528, allocations: 0.6172 MB / 483.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.1532, allocations: 0.7716 MB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.1533, allocations: 33.94 kB / 484.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.1534, allocations: 35.42 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1534, allocations: 0 / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of Templates: time 0.006529/0.1599, allocations: 2.933 MB / 487.4 MB, free: 13.94 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches