Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 179.1 kB / 18.08 MB, free: 3.605 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007487/0.0007487, allocations: 90.7 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2615/0.2615, allocations: 44.15 MB / 388.5 MB, free: 38.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 8 kB / 461.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 61.87 MB / 0.5107 GB, free: 38.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09308/0.3345, allocations: 88.18 MB / 0.5968 GB, free: 6.938 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.3347, allocations: 83.94 kB / 0.5969 GB, free: 6.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.3454, allocations: 4.659 MB / 0.6015 GB, free: 2.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3454, allocations: 0 / 0.6015 GB, free: 2.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.3454, allocations: 0 / 0.6015 GB, free: 2.203 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003531/0.3458, allocations: 422.9 kB / 0.6019 GB, free: 1.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3458, allocations: 12.03 kB / 0.6019 GB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3458, allocations: 12.75 kB / 0.6019 GB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.346, allocations: 230.2 kB / 0.6021 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3461, allocations: 4.375 kB / 0.6021 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3461, allocations: 12.38 kB / 0.6021 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3462, allocations: 70.22 kB / 0.6022 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3463, allocations: 192 / 0.6022 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3463, allocations: 7.875 kB / 0.6022 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3463, allocations: 4 kB / 0.6022 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3464, allocations: 47.91 kB / 0.6022 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3468, allocations: 336.6 kB / 0.6026 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3469, allocations: 66.48 kB / 0.6026 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.3469, allocations: 28.84 kB / 0.6027 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.347, allocations: 4 kB / 0.6027 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.347, allocations: 34.5 kB / 0.6027 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.347, allocations: 0 / 0.6027 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008737/0.3479, allocations: 329.3 kB / 0.603 GB, free: 456 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3479, allocations: 51.41 kB / 0.6031 GB, free: 392 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.3481, allocations: 230.3 kB / 0.6033 GB, free: 148 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3481, allocations: 25.7 kB / 0.6033 GB, free: 116 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.3482, allocations: 112 kB / 0.6034 GB, free: 0 / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.3483, allocations: 43.48 kB / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.3483, allocations: 0 / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.3484, allocations: 330.8 kB / 0.6038 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.3485, allocations: 43.92 kB / 0.6038 GB, free: 15.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.3485, allocations: 39.97 kB / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3487, allocations: 104.3 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3487, allocations: 112 / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002203/0.3489, allocations: 141.5 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.349, allocations: 4 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.349, allocations: 0 / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.349, allocations: 0 / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3491, allocations: 35.92 kB / 0.6041 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3491, allocations: 3.938 kB / 0.6041 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.3492, allocations: 8 kB / 0.6041 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3492, allocations: 7.984 kB / 0.6041 GB, free: 15.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.645e-05/0.3493, allocations: 129.8 kB / 0.6043 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.3493, allocations: 11.81 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.3496, allocations: 179.5 kB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3496, allocations: 0 / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3496, allocations: 7.922 kB / 0.6044 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3496, allocations: 4 kB / 0.6045 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.3502, allocations: 495.1 kB / 0.6049 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3502, allocations: 4 kB / 0.6049 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.3503, allocations: 31.92 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3503, allocations: 0 / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3503, allocations: 15.97 kB / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3503, allocations: 0 / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3503, allocations: 0 / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3506, allocations: 252.1 kB / 0.6052 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.3506, allocations: 100.9 kB / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3507, allocations: 0 / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.3507, allocations: 8 kB / 0.6053 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.3508, allocations: 11.98 kB / 0.6053 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3508, allocations: 4 kB / 0.6053 GB, free: 13.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.3509, allocations: 167.2 kB / 0.6055 GB, free: 13.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3509, allocations: 7.938 kB / 0.6055 GB, free: 13.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.3512, allocations: 35.94 kB / 0.6055 GB, free: 13.69 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0008805/0.3521, allocations: 466 kB / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3523, allocations: 107.9 kB / 0.6061 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3523, allocations: 4 kB / 0.6061 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.802e-05/0.3524, allocations: 51.97 kB / 0.6061 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3527, allocations: 28.36 kB / 0.6062 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.3532, allocations: 346.9 kB / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3534, allocations: 0.716 MB / 0.6072 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.3535, allocations: 20.55 kB / 0.6072 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.3535, allocations: 23.41 kB / 0.6072 GB, free: 12.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3535, allocations: 0 / 0.6072 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Templates: time 0.003444/0.357, allocations: 1.555 MB / 0.6088 GB, free: 10.53 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches