Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2638/0.2638, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.6098, allocations: 87.72 MB / 0.5644 GB, free: 12.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.6103, allocations: 70.72 kB / 0.5645 GB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01698/0.6272, allocations: 5.701 MB / 0.5701 GB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6273, allocations: 4 kB / 0.5701 GB, free: 7.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.6273, allocations: 4 kB / 0.5701 GB, free: 7.25 MB / 378.7 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.000821/0.6282, allocations: 445.2 kB / 0.5705 GB, free: 6.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.6282, allocations: 15.97 kB / 0.5705 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.6283, allocations: 7.906 kB / 0.5705 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.6288, allocations: 226.1 kB / 0.5707 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.6288, allocations: 3.438 kB / 0.5707 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.6288, allocations: 11.98 kB / 0.5707 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.629, allocations: 52.48 kB / 0.5708 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6291, allocations: 0 / 0.5708 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.6291, allocations: 0 / 0.5708 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.6291, allocations: 3.984 kB / 0.5708 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.883e-05/0.6292, allocations: 27.11 kB / 0.5708 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.6298, allocations: 312.5 kB / 0.5711 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.63, allocations: 61.17 kB / 0.5712 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.6301, allocations: 3.938 kB / 0.5712 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.6302, allocations: 69.27 kB / 0.5713 GB, free: 5.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.6303, allocations: 0 / 0.5713 GB, free: 5.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006555/0.6309, allocations: 185.5 kB / 0.5714 GB, free: 5.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.631, allocations: 59.36 kB / 0.5715 GB, free: 5.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.6313, allocations: 238.5 kB / 0.5717 GB, free: 5.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.6314, allocations: 29.7 kB / 0.5717 GB, free: 5.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.6314, allocations: 108.3 kB / 0.5718 GB, free: 5.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.6315, allocations: 27.02 kB / 0.5719 GB, free: 5.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/0.6315, allocations: 4 kB / 0.5719 GB, free: 5.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6317, allocations: 325.1 kB / 0.5722 GB, free: 5.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.6318, allocations: 22.55 kB / 0.5722 GB, free: 5.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.6318, allocations: 42.7 kB / 0.5722 GB, free: 4.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.133e-05/0.6319, allocations: 30.3 kB / 0.5723 GB, free: 4.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.6319, allocations: 0 / 0.5723 GB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.6321, allocations: 109.2 kB / 0.5724 GB, free: 4.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6322, allocations: 8 kB / 0.5724 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6322, allocations: 0 / 0.5724 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6322, allocations: 0 / 0.5724 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6323, allocations: 16.36 kB / 0.5724 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.6323, allocations: 8.031 kB / 0.5724 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.6324, allocations: 7.953 kB / 0.5724 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.6324, allocations: 4 kB / 0.5724 GB, free: 4.832 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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.0001518/0.6326, allocations: 143.6 kB / 0.5726 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.6326, allocations: 15.81 kB / 0.5726 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.6329, allocations: 119.1 kB / 0.5727 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.633, allocations: 0 / 0.5727 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.633, allocations: 4 kB / 0.5727 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.633, allocations: 7.984 kB / 0.5727 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/0.6337, allocations: 430.8 kB / 0.5731 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6337, allocations: 0 / 0.5731 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.6338, allocations: 11.98 kB / 0.5731 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6338, allocations: 4 kB / 0.5731 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.6338, allocations: 1.188 kB / 0.5731 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6338, allocations: 3.953 kB / 0.5731 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.6338, allocations: 4 kB / 0.5731 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.6342, allocations: 231.4 kB / 0.5734 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.6343, allocations: 100 kB / 0.5734 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.6343, allocations: 8.453 kB / 0.5735 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.6344, allocations: 7.984 kB / 0.5735 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.6345, allocations: 8 kB / 0.5735 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.6345, allocations: 7.922 kB / 0.5735 GB, free: 3.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.6347, allocations: 202 kB / 0.5737 GB, free: 3.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6347, allocations: 0 / 0.5737 GB, free: 3.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.635, allocations: 39.73 kB / 0.5737 GB, free: 3.539 MB / 378.7 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.001228/0.6363, allocations: 479.2 kB / 0.5742 GB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.6365, allocations: 62.72 kB / 0.5742 GB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6365, allocations: 4 kB / 0.5742 GB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.6366, allocations: 27.95 kB / 0.5743 GB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.6369, allocations: 31.56 kB / 0.5743 GB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.6375, allocations: 318.5 kB / 0.5746 GB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.6379, allocations: 0.7199 MB / 0.5753 GB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.16e-05/0.638, allocations: 20.42 kB / 0.5753 GB, free: 1.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.638, allocations: 23.42 kB / 0.5753 GB, free: 1.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.638, allocations: 0 / 0.5753 GB, free: 1.93 MB / 378.7 MB Notification: Performance of Templates: time 0.005257/0.6433, allocations: 1.816 MB / 0.5771 GB, free: 132 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches