Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001049, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008416/0.0008416, allocations: 90.23 kB / 261.7 MB, free: 1.609 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.2222/0.2222, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.744e-05, allocations: 0 / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5668, allocations: 86.71 MB / 0.5506 GB, free: 8.191 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.5671, allocations: 77.61 kB / 0.5507 GB, free: 8.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.5778, allocations: 4.291 MB / 0.5549 GB, free: 4.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5779, allocations: 0 / 0.5549 GB, free: 4.879 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.5779, allocations: 0 / 0.5549 GB, free: 4.879 MB / 362.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.0004188/0.5783, allocations: 382 kB / 0.5552 GB, free: 4.469 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5784, allocations: 12.03 kB / 0.5553 GB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.5784, allocations: 7.859 kB / 0.5553 GB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.5787, allocations: 194.7 kB / 0.5554 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5787, allocations: 8 kB / 0.5555 GB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.5787, allocations: 0 / 0.5555 GB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.305e-05/0.5788, allocations: 19.62 kB / 0.5555 GB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.5789, allocations: 59.2 kB / 0.5555 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5789, allocations: 3.938 kB / 0.5555 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.579, allocations: 4 kB / 0.5555 GB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.579, allocations: 0 / 0.5555 GB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.5794, allocations: 292.4 kB / 0.5558 GB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.5795, allocations: 38.2 kB / 0.5558 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.5795, allocations: 16.75 kB / 0.5559 GB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5795, allocations: 4 kB / 0.5559 GB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.5796, allocations: 34.56 kB / 0.5559 GB, free: 3.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.5796, allocations: 0 / 0.5559 GB, free: 3.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004946/0.5801, allocations: 150.2 kB / 0.556 GB, free: 3.602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.5801, allocations: 77.11 kB / 0.5561 GB, free: 3.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5802, allocations: 126.6 kB / 0.5562 GB, free: 3.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.5802, allocations: 25.7 kB / 0.5563 GB, free: 3.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.5803, allocations: 107.5 kB / 0.5564 GB, free: 3.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.5803, allocations: 23.02 kB / 0.5564 GB, free: 3.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.5803, allocations: 0 / 0.5564 GB, free: 3.234 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.5804, allocations: 313.8 kB / 0.5567 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.5804, allocations: 25.73 kB / 0.5567 GB, free: 2.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.5805, allocations: 27.84 kB / 0.5567 GB, free: 2.879 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.5805, allocations: 25.3 kB / 0.5568 GB, free: 2.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5805, allocations: 0 / 0.5568 GB, free: 2.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000113/0.5806, allocations: 94.84 kB / 0.5569 GB, free: 2.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5807, allocations: 4 kB / 0.5569 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5807, allocations: 80 / 0.5569 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.5807, allocations: 4 kB / 0.5569 GB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5808, allocations: 19.98 kB / 0.5569 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5808, allocations: 7.938 kB / 0.5569 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.5809, allocations: 19.98 kB / 0.5569 GB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.5809, allocations: 0 / 0.5569 GB, free: 2.727 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.747e-05/0.581, allocations: 108.9 kB / 0.557 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.5811, allocations: 7.906 kB / 0.557 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.5812, allocations: 96.59 kB / 0.5571 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5813, allocations: 0 / 0.5571 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5813, allocations: 0 / 0.5571 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5813, allocations: 7.891 kB / 0.5571 GB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.5816, allocations: 350.6 kB / 0.5575 GB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5816, allocations: 0 / 0.5575 GB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.5817, allocations: 31.91 kB / 0.5575 GB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5817, allocations: 4 kB / 0.5575 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5817, allocations: 0 / 0.5575 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5817, allocations: 0 / 0.5575 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5817, allocations: 3.953 kB / 0.5575 GB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.5819, allocations: 185.2 kB / 0.5577 GB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.5819, allocations: 84.2 kB / 0.5577 GB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.5819, allocations: 0 / 0.5577 GB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.582, allocations: 16.12 kB / 0.5578 GB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.5821, allocations: 15.92 kB / 0.5578 GB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.5821, allocations: 0 / 0.5578 GB, free: 1.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.5822, allocations: 106.2 kB / 0.5579 GB, free: 1.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5822, allocations: 4 kB / 0.5579 GB, free: 1.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.5825, allocations: 28 kB / 0.5579 GB, free: 1.699 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008345/0.5833, allocations: 386.2 kB / 0.5583 GB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.5835, allocations: 52.34 kB / 0.5583 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5835, allocations: 4 kB / 0.5583 GB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.5835, allocations: 32.67 kB / 0.5584 GB, free: 1.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5838, allocations: 15.31 kB / 0.5584 GB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.5842, allocations: 131.1 kB / 0.5585 GB, free: 1.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.5843, allocations: 0.7115 MB / 0.5592 GB, free: 440 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.382e-05/0.5844, allocations: 16.66 kB / 0.5592 GB, free: 424 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.5845, allocations: 15.42 kB / 0.5592 GB, free: 408 kB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5845, allocations: 4 kB / 0.5592 GB, free: 404 kB / 362.7 MB Notification: Performance of Templates: time 0.004194/0.5887, allocations: 1.41 MB / 0.5606 GB, free: 15 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches