Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002107/0.002107, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.983/1.983, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001137/0.001137, allocations: 96.36 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5211/0.5211, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008125/0.000813, allocations: 20 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.181, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5448/0.726, allocations: 87.71 MB / 0.5644 GB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/0.7264, allocations: 71.97 kB / 0.5645 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04102/0.7675, allocations: 5.568 MB / 0.5699 GB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.7675, allocations: 0 / 0.5699 GB, free: 9.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.209e-05/0.7676, allocations: 4 kB / 0.5699 GB, free: 9.395 MB / 394.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.0009887/0.7686, allocations: 434.5 kB / 0.5703 GB, free: 8.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.7687, allocations: 12.02 kB / 0.5703 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.7688, allocations: 12.47 kB / 0.5703 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/0.7694, allocations: 218.8 kB / 0.5706 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.7695, allocations: 0 / 0.5706 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.7695, allocations: 7.984 kB / 0.5706 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.7698, allocations: 61.61 kB / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.7699, allocations: 0 / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.7699, allocations: 0 / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.77, allocations: 1.031 kB / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.7701, allocations: 27.97 kB / 0.5706 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.7709, allocations: 300.8 kB / 0.5709 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.7714, allocations: 66.61 kB / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.7714, allocations: 3.938 kB / 0.571 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.7717, allocations: 63.52 kB / 0.5711 GB, free: 8.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.777e-06/0.7717, allocations: 0 / 0.5711 GB, free: 8.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001244/0.773, allocations: 189.1 kB / 0.5712 GB, free: 7.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.7732, allocations: 59.36 kB / 0.5713 GB, free: 7.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.7737, allocations: 197.8 kB / 0.5715 GB, free: 7.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.7738, allocations: 33.7 kB / 0.5715 GB, free: 7.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.7739, allocations: 162.6 kB / 0.5717 GB, free: 7.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.774, allocations: 27.64 kB / 0.5717 GB, free: 7.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.774, allocations: 0 / 0.5717 GB, free: 7.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.7742, allocations: 314.8 kB / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.7744, allocations: 19.98 kB / 0.572 GB, free: 7.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.7746, allocations: 41.64 kB / 0.5721 GB, free: 6.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.7748, allocations: 32.84 kB / 0.5721 GB, free: 6.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.7749, allocations: 0 / 0.5721 GB, free: 6.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004913/0.7754, allocations: 85.95 kB / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.7754, allocations: 7.938 kB / 0.5722 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7755, allocations: 4.016 kB / 0.5722 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.7755, allocations: 0 / 0.5722 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.7757, allocations: 19.98 kB / 0.5722 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7758, allocations: 3.984 kB / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.776, allocations: 15.98 kB / 0.5722 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.776, allocations: 0 / 0.5722 GB, free: 6.812 MB / 394.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.0002416/0.7763, allocations: 130.9 kB / 0.5723 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.7764, allocations: 15.81 kB / 0.5724 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006223/0.777, allocations: 119 kB / 0.5725 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.777, allocations: 7.984 kB / 0.5725 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7771, allocations: 0 / 0.5725 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.7771, allocations: 0 / 0.5725 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.7783, allocations: 427.2 kB / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.7784, allocations: 4 kB / 0.5729 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.7785, allocations: 11.94 kB / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.7785, allocations: 0 / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.7786, allocations: 8 kB / 0.5729 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.7786, allocations: 3.953 kB / 0.5729 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.7786, allocations: 0 / 0.5729 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.7793, allocations: 226.8 kB / 0.5731 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.7794, allocations: 100.9 kB / 0.5732 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.7795, allocations: 7.953 kB / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.7797, allocations: 0 / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.7798, allocations: 11.98 kB / 0.5732 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.7799, allocations: 4 kB / 0.5733 GB, free: 5.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004008/0.7803, allocations: 173.3 kB / 0.5734 GB, free: 5.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.7803, allocations: 0 / 0.5734 GB, free: 5.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006268/0.781, allocations: 35.94 kB / 0.5735 GB, free: 5.441 MB / 394.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.002233/0.7832, allocations: 483.8 kB / 0.5739 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.7838, allocations: 71.83 kB / 0.574 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7838, allocations: 0 / 0.574 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.784, allocations: 31.92 kB / 0.574 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.7846, allocations: 24.17 kB / 0.574 GB, free: 4.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.7858, allocations: 310.7 kB / 0.5743 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.7864, allocations: 0.716 MB / 0.575 GB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.7865, allocations: 19.44 kB / 0.575 GB, free: 3.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.003e-06/0.7865, allocations: 0 / 0.575 GB, free: 3.84 MB / 394.7 MB Notification: Performance of Templates: time 0.008897/0.7954, allocations: 2.033 MB / 0.577 GB, free: 1.816 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches