Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.216/1.216, allocations: 223.2 MB / 241 MB, free: 11.87 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.0008057/0.0008057, allocations: 95.16 kB / 292.2 MB, free: 10.91 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.3132/0.3132, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 12 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.4546, allocations: 88.06 MB / 0.5956 GB, free: 7.059 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4549, allocations: 75.94 kB / 0.5956 GB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009082/0.4639, allocations: 3.741 MB / 0.5993 GB, free: 3.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.464, allocations: 0 / 0.5993 GB, free: 3.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.464, allocations: 3.984 kB / 0.5993 GB, free: 3.246 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003428/0.4643, allocations: 390.9 kB / 0.5997 GB, free: 2.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4644, allocations: 8.562 kB / 0.5997 GB, free: 2.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.4644, allocations: 7.906 kB / 0.5997 GB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.4646, allocations: 196.1 kB / 0.5999 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4646, allocations: 0 / 0.5999 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.4647, allocations: 4 kB / 0.5999 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.4648, allocations: 65.62 kB / 0.5999 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4648, allocations: 0 / 0.5999 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.4648, allocations: 0 / 0.5999 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.4649, allocations: 0 / 0.5999 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.4649, allocations: 23.98 kB / 0.5999 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.4653, allocations: 292.8 kB / 0.6002 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4655, allocations: 54.48 kB / 0.6003 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4655, allocations: 3.984 kB / 0.6003 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4655, allocations: 30.56 kB / 0.6003 GB, free: 2.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.4655, allocations: 4 kB / 0.6003 GB, free: 2.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005209/0.4661, allocations: 165.4 kB / 0.6005 GB, free: 1.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.4661, allocations: 55.41 kB / 0.6005 GB, free: 1.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4662, allocations: 138.6 kB / 0.6007 GB, free: 1.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.4663, allocations: 25.7 kB / 0.6007 GB, free: 1.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.4663, allocations: 92.14 kB / 0.6008 GB, free: 1.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.4663, allocations: 19.73 kB / 0.6008 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.4663, allocations: 0 / 0.6008 GB, free: 1.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4665, allocations: 322.8 kB / 0.6011 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.4666, allocations: 27.98 kB / 0.6011 GB, free: 1.152 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.4666, allocations: 27.92 kB / 0.6011 GB, free: 1.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/0.4667, allocations: 23.98 kB / 0.6012 GB, free: 1.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4667, allocations: 3.953 kB / 0.6012 GB, free: 1.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.4669, allocations: 97.56 kB / 0.6013 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4669, allocations: 8 kB / 0.6013 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4669, allocations: 0 / 0.6013 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.467, allocations: 0 / 0.6013 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.467, allocations: 12 kB / 0.6013 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.467, allocations: 0 / 0.6013 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.4671, allocations: 11.98 kB / 0.6013 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.4671, allocations: 0 / 0.6013 GB, free: 0.9648 MB / 410.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 7.374e-05/0.4672, allocations: 117.8 kB / 0.6014 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.4672, allocations: 15.8 kB / 0.6014 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.4675, allocations: 109.8 kB / 0.6015 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4675, allocations: 4 kB / 0.6015 GB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4675, allocations: 4 kB / 0.6015 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.4675, allocations: 0 / 0.6015 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.4679, allocations: 370.8 kB / 0.6019 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4679, allocations: 0 / 0.6019 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.468, allocations: 19.98 kB / 0.6019 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.468, allocations: 0 / 0.6019 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.468, allocations: 4 kB / 0.6019 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.468, allocations: 3.938 kB / 0.6019 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.468, allocations: 3.984 kB / 0.6019 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.4682, allocations: 191.4 kB / 0.6021 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.4683, allocations: 89.02 kB / 0.6022 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.4683, allocations: 7.984 kB / 0.6022 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.4684, allocations: 4 kB / 0.6022 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.4684, allocations: 3.938 kB / 0.6022 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.4684, allocations: 4 kB / 0.6022 GB, free: 15.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.4685, allocations: 117 kB / 0.6023 GB, free: 15.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4685, allocations: 4 kB / 0.6023 GB, free: 15.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.4687, allocations: 23.98 kB / 0.6023 GB, free: 15.79 MB / 426.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.0008908/0.4696, allocations: 414.5 kB / 0.6027 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.4698, allocations: 55.95 kB / 0.6028 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4699, allocations: 7.938 kB / 0.6028 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.4699, allocations: 31.92 kB / 0.6028 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.4701, allocations: 19.94 kB / 0.6029 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.4705, allocations: 204.2 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.4708, allocations: 0.6979 MB / 0.6037 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.529e-05/0.4708, allocations: 12.17 kB / 0.6037 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.4709, allocations: 11.44 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4709, allocations: 0 / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of Templates: time 0.002857/0.4737, allocations: 1.061 MB / 0.6048 GB, free: 13.4 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches