Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 185.2 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.674/1.674, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009183/0.0009179, allocations: 94.84 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.2789/0.2789, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 58.85 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.5536, allocations: 87.07 MB / 0.5638 GB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5539, allocations: 74.28 kB / 0.5638 GB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.5707, allocations: 7.924 MB / 0.5716 GB, free: 5.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5708, allocations: 0 / 0.5716 GB, free: 5.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.5708, allocations: 4 kB / 0.5716 GB, free: 5.582 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006886/0.5715, allocations: 0.6344 MB / 0.5722 GB, free: 4.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.5716, allocations: 12.02 kB / 0.5722 GB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/0.5717, allocations: 47.39 kB / 0.5723 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.5722, allocations: 333.3 kB / 0.5726 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5722, allocations: 0 / 0.5726 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.5722, allocations: 0 / 0.5726 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.5724, allocations: 72.36 kB / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5724, allocations: 0 / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5724, allocations: 0 / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5724, allocations: 0 / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.5726, allocations: 46.48 kB / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.5732, allocations: 445.9 kB / 0.5731 GB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.5734, allocations: 45.8 kB / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.5734, allocations: 7 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.5734, allocations: 34.56 kB / 0.5732 GB, free: 3.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5734, allocations: 0 / 0.5732 GB, free: 3.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003545/0.5738, allocations: 143.2 kB / 0.5733 GB, free: 3.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5739, allocations: 55.41 kB / 0.5734 GB, free: 3.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.575, allocations: 0.7825 MB / 0.5742 GB, free: 3.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.575, allocations: 29.64 kB / 0.5742 GB, free: 3.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.5752, allocations: 211.8 kB / 0.5744 GB, free: 2.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.5752, allocations: 7.781 kB / 0.5744 GB, free: 2.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.5752, allocations: 4 kB / 0.5744 GB, free: 2.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.5754, allocations: 362.1 kB / 0.5747 GB, free: 2.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.5755, allocations: 23.86 kB / 0.5748 GB, free: 2.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.5756, allocations: 27.61 kB / 0.5748 GB, free: 2.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.5757, allocations: 23.86 kB / 0.5748 GB, free: 2.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5757, allocations: 0 / 0.5748 GB, free: 2.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002392/0.5759, allocations: 121 kB / 0.5749 GB, free: 2.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.576, allocations: 4 kB / 0.5749 GB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.576, allocations: 0 / 0.5749 GB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.576, allocations: 4 kB / 0.5749 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.5761, allocations: 11.95 kB / 0.575 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5761, allocations: 0 / 0.575 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.5762, allocations: 15.98 kB / 0.575 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.5762, allocations: 4 kB / 0.575 GB, free: 2.328 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 (3): * Single equations (assignments): 3 * 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.0001965/0.5764, allocations: 213 kB / 0.5752 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.5765, allocations: 39.44 kB / 0.5752 GB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.5768, allocations: 135.8 kB / 0.5753 GB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5768, allocations: 4 kB / 0.5753 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5768, allocations: 4.328 kB / 0.5753 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5769, allocations: 3.984 kB / 0.5754 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.5772, allocations: 327.3 kB / 0.5757 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5772, allocations: 0 / 0.5757 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.5773, allocations: 11.98 kB / 0.5757 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.5773, allocations: 3.984 kB / 0.5757 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5773, allocations: 4 kB / 0.5757 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5773, allocations: 0 / 0.5757 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5773, allocations: 3.938 kB / 0.5757 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.5776, allocations: 222.5 kB / 0.5759 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.5779, allocations: 160.2 kB / 0.5761 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.578, allocations: 0 / 0.5761 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.5781, allocations: 8 kB / 0.5761 GB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.5782, allocations: 4 kB / 0.5761 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.5782, allocations: 3.984 kB / 0.5761 GB, free: 1.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007701/0.5789, allocations: 0.6452 MB / 0.5767 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.579, allocations: 0 / 0.5767 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.5793, allocations: 47.95 kB / 0.5767 GB, free: 0.6758 MB / 378.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 (3): * Single equations (assignments): 3 * 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.000887/0.5802, allocations: 354 kB / 0.5771 GB, free: 388 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.5804, allocations: 53.28 kB / 0.5771 GB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5804, allocations: 4 kB / 0.5771 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.5805, allocations: 23.61 kB / 0.5772 GB, free: 320 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.5808, allocations: 23.83 kB / 0.5772 GB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.5822, allocations: 0.8879 MB / 0.578 GB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.5827, allocations: 0.8385 MB / 0.5789 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.5828, allocations: 44.41 kB / 0.5789 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.5829, allocations: 23.38 kB / 0.5789 GB, free: 14.52 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5829, allocations: 0 / 0.5789 GB, free: 14.52 MB / 394.7 MB Notification: Performance of Templates: time 0.005555/0.5885, allocations: 2.3 MB / 0.5812 GB, free: 12.23 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches