Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 94.11 kB / 16.98 MB, free: 6.398 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.001249/0.00125, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.391/1.391, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2013/0.2013, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 16 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002267/0.1466, allocations: 1.391 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1488, allocations: 1.359 MB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1489, allocations: 4 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1492, allocations: 31.83 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1495, allocations: 55.81 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1498, allocations: 87.77 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.15, allocations: 63.86 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1501, allocations: 12.22 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.1502, allocations: 35.84 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1503, allocations: 27.86 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1503, allocations: 7.938 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1505, allocations: 43.91 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.1505, allocations: 23.92 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.1506, allocations: 37.64 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1507, allocations: 96.06 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1508, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1508, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1508, allocations: 0 / 474.7 MB, free: 10.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000614/0.1514, allocations: 402.9 kB / 475.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1515, allocations: 8.562 kB / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.1515, allocations: 7.906 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1518, allocations: 215.4 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1518, allocations: 0 / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1518, allocations: 4 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.152, allocations: 75.34 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1521, allocations: 0 / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1521, allocations: 7.984 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1521, allocations: 0 / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.62e-05/0.1522, allocations: 23.98 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.1526, allocations: 300.7 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1528, allocations: 70.67 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1529, allocations: 0 / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.1531, allocations: 75.58 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.1531, allocations: 0 / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007264/0.1539, allocations: 197.1 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.154, allocations: 81.09 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1542, allocations: 160.4 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1542, allocations: 29.7 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.1543, allocations: 96.12 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.1543, allocations: 31.64 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.1543, allocations: 0 / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1545, allocations: 330.8 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.1546, allocations: 20 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.1546, allocations: 50.55 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.1547, allocations: 28.03 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1547, allocations: 0 / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002129/0.1549, allocations: 125.4 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.155, allocations: 4 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.155, allocations: 0 / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.155, allocations: 4 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1551, allocations: 12 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1551, allocations: 7.984 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.1552, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1552, allocations: 8 kB / 477.1 MB, free: 7.871 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 (11): * Single equations (assignments): 11 * 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.0001303/0.1553, allocations: 121.8 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1554, allocations: 11.91 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.1554, allocations: 20.64 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1555, allocations: 4 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1555, allocations: 0 / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1555, allocations: 3.984 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.156, allocations: 411.3 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.156, allocations: 3.984 kB / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.156, allocations: 12 kB / 477.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.156, allocations: 4.031 kB / 477.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1561, allocations: 0 / 477.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.1561, allocations: 8 kB / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1561, allocations: 3.938 kB / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1563, allocations: 229.8 kB / 477.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.1564, allocations: 85.02 kB / 478 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1565, allocations: 12 kB / 478 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.1565, allocations: 3.984 kB / 478 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.1566, allocations: 4 kB / 478 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1566, allocations: 7.984 kB / 478 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1567, allocations: 129.8 kB / 478.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1567, allocations: 0 / 478.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.157, allocations: 35.94 kB / 478.1 MB, free: 6.668 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 (9): * Single equations (assignments): 7 * 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.001308/0.1583, allocations: 0.5032 MB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1586, allocations: 67.92 kB / 478.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1586, allocations: 0 / 478.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.1587, allocations: 35.92 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.159, allocations: 26.16 kB / 478.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.1594, allocations: 222.1 kB / 479 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1598, allocations: 0.7004 MB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.648e-05/0.1599, allocations: 28.72 kB / 479.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.1599, allocations: 23.42 kB / 479.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.16, allocations: 0 / 479.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of Templates: time 0.007175/0.1671, allocations: 1.916 MB / 481.7 MB, free: 3.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches