Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 95.3 kB / 16.99 MB, free: 5.602 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.00155/0.00155, allocations: 182.1 kB / 17.88 MB, free: 5.25 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.446/1.446, allocations: 223.2 MB / 241.8 MB, free: 372 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.2289/0.2289, allocations: 44.22 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003663, allocations: 16 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001944/0.1446, allocations: 1.348 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1458, allocations: 0.7764 MB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.1459, allocations: 0 / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1462, allocations: 59.8 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1464, allocations: 51.86 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1466, allocations: 95.69 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1468, allocations: 51.94 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.1469, allocations: 11.92 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.147, allocations: 39.84 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.147, allocations: 35.89 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1471, allocations: 11.88 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.707e-05/0.1471, allocations: 16 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.1472, allocations: 11.98 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.1472, allocations: 37.64 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.1474, allocations: 80.09 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1474, allocations: 0 / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1474, allocations: 0 / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1474, allocations: 0 / 474.1 MB, free: 11.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000504/0.1479, allocations: 390.9 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.148, allocations: 11.97 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.148, allocations: 11.91 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1482, allocations: 194.9 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1483, allocations: 4 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1483, allocations: 4 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1484, allocations: 49.62 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1484, allocations: 0 / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1484, allocations: 0 / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1484, allocations: 4 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.1485, allocations: 15.98 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.1487, allocations: 189.5 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1489, allocations: 58.55 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1489, allocations: 0 / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.1491, allocations: 67.44 kB / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.1491, allocations: 0 / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002808/0.1494, allocations: 101.5 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1495, allocations: 51.41 kB / 475.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1496, allocations: 190.1 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1497, allocations: 25.7 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.1497, allocations: 100.1 kB / 475.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1498, allocations: 15.81 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1498, allocations: 0 / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1499, allocations: 326.8 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.1499, allocations: 15.98 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.15, allocations: 25.7 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.1501, allocations: 20 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1501, allocations: 0 / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001386/0.1502, allocations: 81.78 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1502, allocations: 4 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1502, allocations: 7.891 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1503, allocations: 64 / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.1504, allocations: 19.98 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1504, allocations: 0 / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.1504, allocations: 11.97 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1504, allocations: 4 kB / 476 MB, free: 8.934 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1506, allocations: 122.4 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.1506, allocations: 7.906 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.1506, allocations: 16.31 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.1506, allocations: 3.953 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1506, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1507, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1508, allocations: 189.5 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1508, allocations: 4 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.1508, allocations: 4 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1508, allocations: 0 / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1509, allocations: 0 / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1509, allocations: 0 / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1509, allocations: 3.953 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.151, allocations: 105 kB / 476.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.1511, allocations: 96.94 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1511, allocations: 4 kB / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.614e-05/0.1512, allocations: 4 kB / 476.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1512, allocations: 3.953 kB / 476.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1512, allocations: 7.984 kB / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1513, allocations: 135.2 kB / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1514, allocations: 0 / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.1516, allocations: 19.98 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009755/0.1526, allocations: 412.1 kB / 477.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1527, allocations: 47.92 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1527, allocations: 0 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.1528, allocations: 16 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.153, allocations: 23.97 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.1535, allocations: 205.2 kB / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1538, allocations: 0.7043 MB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.1538, allocations: 20.52 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.1538, allocations: 11.44 kB / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1538, allocations: 0 / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Templates: time 0.004642/0.1585, allocations: 1.38 MB / 479.6 MB, free: 5.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches