Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001141/0.001141, allocations: 194 kB / 18.12 MB, free: 5.383 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.411/1.411, allocations: 222.9 MB / 241.8 MB, free: 13.66 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.2325/0.2325, allocations: 44.18 MB / 336.1 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 73.7 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1443, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003442/0.1478, allocations: 1.761 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1492, allocations: 0.8654 MB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.378e-05/0.1494, allocations: 0 / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1497, allocations: 31.89 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.15, allocations: 51.77 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1503, allocations: 91.77 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1505, allocations: 95.69 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1506, allocations: 16.23 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.216e-05/0.1507, allocations: 39.78 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.1508, allocations: 35.78 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1508, allocations: 0 / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.151, allocations: 39.98 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.151, allocations: 19.91 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.1511, allocations: 31.75 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1513, allocations: 111.9 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1513, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1513, allocations: 4 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1513, allocations: 0 / 471.7 MB, free: 11.62 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006133/0.152, allocations: 422.8 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.152, allocations: 8.031 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.1521, allocations: 12.84 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1523, allocations: 208.8 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1524, allocations: 4.375 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1524, allocations: 4.125 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1526, allocations: 57.67 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1526, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1526, allocations: 4 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.1526, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.1527, allocations: 19.92 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.1531, allocations: 292.8 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1533, allocations: 62.67 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.805e-05/0.1534, allocations: 20.84 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1534, allocations: 0 / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.1536, allocations: 71.33 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.1536, allocations: 0 / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005939/0.1542, allocations: 173.2 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.1543, allocations: 59.39 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.1545, allocations: 199.3 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1545, allocations: 25.7 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.1546, allocations: 100.1 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1546, allocations: 27.69 kB / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.1547, allocations: 21.72 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1548, allocations: 330.8 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.1549, allocations: 15.98 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.155, allocations: 45.64 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1551, allocations: 65.7 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1551, allocations: 0 / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.1553, allocations: 93.59 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1553, allocations: 7.938 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1554, allocations: 384 / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1554, allocations: 12.02 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1555, allocations: 19.98 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1555, allocations: 3.938 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.1556, allocations: 11.94 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1556, allocations: 0 / 474.1 MB, free: 9.023 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 (10): * Single equations (assignments): 10 * 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.000124/0.1557, allocations: 133.1 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1558, allocations: 11.81 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.1558, allocations: 21.39 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1558, allocations: 0 / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1558, allocations: 4 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1558, allocations: 3.938 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.1563, allocations: 391.3 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1563, allocations: 0 / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.1564, allocations: 11.94 kB / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1564, allocations: 0 / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1564, allocations: 11.92 kB / 474.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1564, allocations: 0 / 474.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1564, allocations: 4.031 kB / 474.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1567, allocations: 200.2 kB / 474.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1567, allocations: 85.02 kB / 474.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1568, allocations: 3.938 kB / 474.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.188e-05/0.1568, allocations: 7.984 kB / 474.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1569, allocations: 8 kB / 474.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1569, allocations: 4 kB / 474.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.157, allocations: 156.8 kB / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1571, allocations: 0 / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1573, allocations: 23.98 kB / 475.1 MB, free: 7.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001085/0.1584, allocations: 473.2 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1586, allocations: 63.89 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1586, allocations: 0 / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1588, allocations: 27.98 kB / 475.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1591, allocations: 31.91 kB / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.1596, allocations: 245.2 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.16, allocations: 0.712 MB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.16, allocations: 20.88 kB / 476.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.1601, allocations: 23.42 kB / 476.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of SimCode: time 1.843e-06/0.1601, allocations: 0 / 476.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of Templates: time 0.005215/0.1653, allocations: 1.643 MB / 478.3 MB, free: 4.781 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches