Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001211/0.001211, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.335/1.335, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2163/0.2163, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001747, allocations: 60.69 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1385, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004127/0.1427, allocations: 1.719 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1445, allocations: 0.8808 MB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1446, allocations: 8 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.145, allocations: 103.6 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1454, allocations: 91.62 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.1458, allocations: 115.2 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.1461, allocations: 127.7 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1462, allocations: 15.98 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.1464, allocations: 59.77 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1466, allocations: 67.75 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1466, allocations: 4 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1468, allocations: 59.97 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.913e-05/0.1469, allocations: 31.91 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.147, allocations: 39.69 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1473, allocations: 147.8 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1474, allocations: 4 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1474, allocations: 3.938 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1474, allocations: 4 kB / 472.7 MB, free: 10.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000723/0.1481, allocations: 442.7 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.1482, allocations: 16.02 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.1483, allocations: 12.75 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.1486, allocations: 223.8 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1486, allocations: 4.375 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1486, allocations: 12.12 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1488, allocations: 69.59 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1489, allocations: 0 / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1489, allocations: 0 / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1489, allocations: 0 / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.149, allocations: 35.97 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.1495, allocations: 316.6 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.1498, allocations: 78.55 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.1499, allocations: 24.86 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.1499, allocations: 3.984 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.1502, allocations: 67.39 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.1502, allocations: 0 / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009052/0.1511, allocations: 285 kB / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1512, allocations: 55.34 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1514, allocations: 247.2 kB / 474.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1515, allocations: 25.7 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.1516, allocations: 116.1 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.1516, allocations: 39.45 kB / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.1517, allocations: 29.72 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1518, allocations: 330.8 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.1519, allocations: 31.98 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.152, allocations: 53.7 kB / 475.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1522, allocations: 89.69 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1522, allocations: 4 kB / 475.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002596/0.1525, allocations: 137.4 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1525, allocations: 8.031 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1525, allocations: 0 / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1525, allocations: 4 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.1526, allocations: 23.92 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1526, allocations: 7.938 kB / 475.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.1527, allocations: 8 kB / 475.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1527, allocations: 4.703 kB / 475.5 MB, free: 7.922 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 (14): * Single equations (assignments): 14 * 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.0001255/0.1528, allocations: 133.8 kB / 475.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.1529, allocations: 19.8 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.1529, allocations: 25.41 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1529, allocations: 0 / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.153, allocations: 3.938 kB / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.153, allocations: 0 / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.1536, allocations: 483.9 kB / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1536, allocations: 0 / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.1536, allocations: 23.98 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1536, allocations: 4 kB / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1537, allocations: 4 kB / 476.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1537, allocations: 4 kB / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1537, allocations: 0 / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.154, allocations: 244.9 kB / 476.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1541, allocations: 92.92 kB / 476.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1541, allocations: 7.938 kB / 476.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1542, allocations: 11.98 kB / 476.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1542, allocations: 4 kB / 476.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1543, allocations: 8.078 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.1545, allocations: 192.2 kB / 476.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1545, allocations: 0 / 476.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1548, allocations: 32 kB / 476.7 MB, free: 6.543 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 (12): * Single equations (assignments): 10 * 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.001219/0.156, allocations: 0.5116 MB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1563, allocations: 95.84 kB / 477.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1563, allocations: 0 / 477.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.1564, allocations: 43.92 kB / 477.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1568, allocations: 39.41 kB / 477.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.1574, allocations: 316.9 kB / 477.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1577, allocations: 0.7201 MB / 478.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.4e-05/0.1578, allocations: 21.06 kB / 478.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.1579, allocations: 27.42 kB / 478.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1579, allocations: 0 / 478.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of Templates: time 0.005581/0.1635, allocations: 2.062 MB / 480.6 MB, free: 2.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches