Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.542/1.542, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009479/0.0009478, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.1991/0.1991, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5962, allocations: 87.3 MB / 0.564 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/0.5966, allocations: 74.31 kB / 0.5641 GB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.615, allocations: 8.084 MB / 0.572 GB, free: 5.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.6151, allocations: 3.938 kB / 0.572 GB, free: 5.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.6151, allocations: 8 kB / 0.572 GB, free: 5.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009461/0.6161, allocations: 0.6267 MB / 0.5726 GB, free: 4.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.6162, allocations: 20.02 kB / 0.5726 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.964e-05/0.6163, allocations: 43.39 kB / 0.5727 GB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/0.6169, allocations: 328.2 kB / 0.573 GB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.6169, allocations: 4 kB / 0.573 GB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.617, allocations: 0 / 0.573 GB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.6172, allocations: 63.97 kB / 0.573 GB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.6172, allocations: 0 / 0.573 GB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.6172, allocations: 3.984 kB / 0.573 GB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.6172, allocations: 4 kB / 0.573 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.6174, allocations: 50.36 kB / 0.5731 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.6182, allocations: 431.5 kB / 0.5735 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.6184, allocations: 53.81 kB / 0.5735 GB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.6185, allocations: 8.016 kB / 0.5736 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.6185, allocations: 34.58 kB / 0.5736 GB, free: 3.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6185, allocations: 4 kB / 0.5736 GB, free: 3.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007395/0.6193, allocations: 257.4 kB / 0.5738 GB, free: 3.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.6193, allocations: 51.41 kB / 0.5739 GB, free: 3.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.6205, allocations: 0.7871 MB / 0.5747 GB, free: 2.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.6205, allocations: 25.7 kB / 0.5747 GB, free: 2.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.6207, allocations: 223.4 kB / 0.5749 GB, free: 2.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.6208, allocations: 23.06 kB / 0.5749 GB, free: 2.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.6208, allocations: 0 / 0.5749 GB, free: 2.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.621, allocations: 359.6 kB / 0.5753 GB, free: 2.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.621, allocations: 26.61 kB / 0.5753 GB, free: 2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-05/0.6211, allocations: 23.3 kB / 0.5753 GB, free: 1.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.6212, allocations: 35.3 kB / 0.5753 GB, free: 1.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6212, allocations: 0 / 0.5753 GB, free: 1.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002367/0.6214, allocations: 137 kB / 0.5755 GB, free: 1.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6215, allocations: 7.953 kB / 0.5755 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6215, allocations: 0 / 0.5755 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6215, allocations: 4 kB / 0.5755 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.6216, allocations: 12 kB / 0.5755 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6216, allocations: 0 / 0.5755 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.6217, allocations: 11.98 kB / 0.5755 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6217, allocations: 0 / 0.5755 GB, free: 1.789 MB / 378.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 (5): * Single equations (assignments): 5 * 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.0001979/0.6219, allocations: 212.5 kB / 0.5757 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.622, allocations: 43.44 kB / 0.5757 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.6223, allocations: 162.5 kB / 0.5759 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6223, allocations: 0 / 0.5759 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.6223, allocations: 0 / 0.5759 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.6223, allocations: 4 kB / 0.5759 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.6234, allocations: 0.5983 MB / 0.5765 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6234, allocations: 0 / 0.5765 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.6235, allocations: 15.95 kB / 0.5765 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.6235, allocations: 0 / 0.5765 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.6235, allocations: 0 / 0.5765 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.6235, allocations: 0 / 0.5765 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6235, allocations: 11.88 kB / 0.5765 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.6239, allocations: 226.2 kB / 0.5767 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.6242, allocations: 160.3 kB / 0.5769 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.6243, allocations: 7.891 kB / 0.5769 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.6244, allocations: 19.92 kB / 0.5769 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.6245, allocations: 0 / 0.5769 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6245, allocations: 4 kB / 0.5769 GB, free: 384 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008044/0.6253, allocations: 0.6431 MB / 0.5775 GB, free: 15.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6253, allocations: 0 / 0.5775 GB, free: 15.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.6257, allocations: 59.59 kB / 0.5776 GB, free: 15.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001106/0.6268, allocations: 400 kB / 0.578 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.6271, allocations: 67.16 kB / 0.578 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6271, allocations: 0 / 0.578 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.6272, allocations: 35.97 kB / 0.5781 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.6275, allocations: 25.73 kB / 0.5781 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.629, allocations: 0.9264 MB / 0.579 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.6294, allocations: 0.841 MB / 0.5798 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.952e-05/0.6295, allocations: 36 kB / 0.5799 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.6296, allocations: 31.42 kB / 0.5799 GB, free: 13.61 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6296, allocations: 0 / 0.5799 GB, free: 13.61 MB / 394.7 MB Notification: Performance of Templates: time 0.006102/0.6357, allocations: 2.434 MB / 0.5823 GB, free: 11.18 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches