Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001533, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001971/0.001971, allocations: 91.25 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.295/0.295, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.046e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5569, allocations: 85.59 MB / 0.5495 GB, free: 13.71 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5572, allocations: 71.97 kB / 0.5496 GB, free: 13.64 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.5732, allocations: 3.529 MB / 0.553 GB, free: 10.11 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.5733, allocations: 0 / 0.553 GB, free: 10.11 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5733, allocations: 0 / 0.553 GB, free: 10.11 MB / 395.1 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.0004555/0.5737, allocations: 378.2 kB / 0.5534 GB, free: 9.699 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5738, allocations: 8.031 kB / 0.5534 GB, free: 9.691 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.5739, allocations: 4 kB / 0.5534 GB, free: 9.688 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.5742, allocations: 190.9 kB / 0.5536 GB, free: 9.461 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.5742, allocations: 4 kB / 0.5536 GB, free: 9.457 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.5742, allocations: 7.906 kB / 0.5536 GB, free: 9.449 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.532e-05/0.5743, allocations: 12 kB / 0.5536 GB, free: 9.438 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.077e-05/0.5744, allocations: 37.69 kB / 0.5536 GB, free: 9.395 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5744, allocations: 7.938 kB / 0.5536 GB, free: 9.387 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5745, allocations: 4 kB / 0.5536 GB, free: 9.383 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5745, allocations: 0 / 0.5536 GB, free: 9.383 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.5749, allocations: 249.5 kB / 0.5539 GB, free: 9.102 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.5751, allocations: 42.5 kB / 0.5539 GB, free: 9.051 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.5751, allocations: 8.859 kB / 0.5539 GB, free: 9.039 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5752, allocations: 0 / 0.5539 GB, free: 9.039 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5752, allocations: 30.56 kB / 0.5539 GB, free: 9 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 5.28e-06/0.5752, allocations: 3.984 kB / 0.5539 GB, free: 8.996 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005209/0.5758, allocations: 113.3 kB / 0.5541 GB, free: 8.879 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5758, allocations: 55.41 kB / 0.5541 GB, free: 8.812 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.576, allocations: 132.1 kB / 0.5542 GB, free: 8.676 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.576, allocations: 25.7 kB / 0.5543 GB, free: 8.645 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.5762, allocations: 162.5 kB / 0.5544 GB, free: 8.484 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.5762, allocations: 19.73 kB / 0.5544 GB, free: 8.465 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.5762, allocations: 0 / 0.5544 GB, free: 8.465 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5764, allocations: 318.8 kB / 0.5547 GB, free: 8.145 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.5764, allocations: 12 kB / 0.5547 GB, free: 8.133 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.5765, allocations: 11.94 kB / 0.5548 GB, free: 8.121 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.5765, allocations: 8 kB / 0.5548 GB, free: 8.113 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5765, allocations: 0 / 0.5548 GB, free: 8.113 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001277/0.5767, allocations: 57.59 kB / 0.5548 GB, free: 8.051 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5767, allocations: 4 kB / 0.5548 GB, free: 8.047 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.5767, allocations: 4 kB / 0.5548 GB, free: 8.043 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5767, allocations: 0 / 0.5548 GB, free: 8.043 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.5769, allocations: 15.98 kB / 0.5548 GB, free: 8.027 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.5769, allocations: 4 kB / 0.5548 GB, free: 8.023 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.577, allocations: 4 kB / 0.5549 GB, free: 8.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.577, allocations: 0 / 0.5549 GB, free: 8.02 MB / 395.1 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 (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 8.679e-05/0.5771, allocations: 109.1 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.5771, allocations: 7.906 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.5773, allocations: 74 kB / 0.555 GB, free: 7.824 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5774, allocations: 4 kB / 0.555 GB, free: 7.82 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5774, allocations: 4 kB / 0.555 GB, free: 7.816 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5774, allocations: 0 / 0.555 GB, free: 7.816 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.5778, allocations: 299.1 kB / 0.5553 GB, free: 7.48 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5779, allocations: 384 / 0.5553 GB, free: 7.48 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.578, allocations: 19.92 kB / 0.5553 GB, free: 7.461 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.578, allocations: 4 kB / 0.5553 GB, free: 7.457 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.578, allocations: 4 kB / 0.5554 GB, free: 7.453 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.578, allocations: 4 kB / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5781, allocations: 0 / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.5783, allocations: 159.4 kB / 0.5555 GB, free: 7.277 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.5783, allocations: 85.02 kB / 0.5556 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.5784, allocations: 0 / 0.5556 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5785, allocations: 11.98 kB / 0.5556 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.5786, allocations: 7.938 kB / 0.5556 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.5786, allocations: 4 kB / 0.5556 GB, free: 7.152 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.5787, allocations: 111.3 kB / 0.5557 GB, free: 7.043 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5787, allocations: 3.938 kB / 0.5557 GB, free: 7.039 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.5791, allocations: 23.98 kB / 0.5557 GB, free: 7.016 MB / 395.1 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 (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.001083/0.5802, allocations: 334.8 kB / 0.5561 GB, free: 6.723 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.5804, allocations: 24 kB / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5804, allocations: 4 kB / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.5804, allocations: 12 kB / 0.5561 GB, free: 6.684 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.5808, allocations: 27.22 kB / 0.5561 GB, free: 6.66 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.5812, allocations: 141.4 kB / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.5815, allocations: 0.7001 MB / 0.5569 GB, free: 5.766 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.5816, allocations: 11.44 kB / 0.557 GB, free: 5.754 MB / 395.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5816, allocations: 0 / 0.557 GB, free: 5.754 MB / 395.1 MB Notification: Performance of Templates: time 0.004408/0.586, allocations: 1.397 MB / 0.5583 GB, free: 4.363 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches