Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.328/1.328, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008151/0.0008151, allocations: 88.45 kB / 267 MB, free: 9.281 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.3927/0.3927, allocations: 43.46 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.873e-05, allocations: 4 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5332, allocations: 86.35 MB / 0.5571 GB, free: 17.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.5335, allocations: 68.39 kB / 0.5572 GB, free: 17.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009735/0.5432, allocations: 4.226 MB / 0.5613 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5433, allocations: 4 kB / 0.5613 GB, free: 15.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.5433, allocations: 4 kB / 0.5613 GB, free: 15.03 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003308/0.5436, allocations: 395.4 kB / 0.5617 GB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5437, allocations: 8.031 kB / 0.5617 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.5437, allocations: 15.25 kB / 0.5617 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.544, allocations: 208.3 kB / 0.5619 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.544, allocations: 11.81 kB / 0.5619 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.544, allocations: 0 / 0.5619 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.5441, allocations: 58.02 kB / 0.562 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5442, allocations: 4 kB / 0.562 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5442, allocations: 0 / 0.562 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5442, allocations: 1.375 kB / 0.562 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.5443, allocations: 30.66 kB / 0.562 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.5446, allocations: 302.4 kB / 0.5623 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/0.5447, allocations: 56.89 kB / 0.5624 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.5447, allocations: 16.8 kB / 0.5624 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.5448, allocations: 4.062 kB / 0.5624 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.5448, allocations: 35.86 kB / 0.5624 GB, free: 13.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.5448, allocations: 0 / 0.5624 GB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000416/0.5452, allocations: 144.9 kB / 0.5626 GB, free: 13.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.5452, allocations: 55.41 kB / 0.5626 GB, free: 13.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.5454, allocations: 211.7 kB / 0.5628 GB, free: 13.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.5454, allocations: 25.7 kB / 0.5628 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.5455, allocations: 105.9 kB / 0.5629 GB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.5455, allocations: 26.34 kB / 0.563 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.5455, allocations: 0 / 0.563 GB, free: 13.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.5456, allocations: 326.2 kB / 0.5633 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.5456, allocations: 15.56 kB / 0.5633 GB, free: 13.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.5456, allocations: 11.95 kB / 0.5633 GB, free: 13.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.5457, allocations: 32.58 kB / 0.5633 GB, free: 13.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5457, allocations: 0 / 0.5633 GB, free: 13.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001031/0.5458, allocations: 88 kB / 0.5634 GB, free: 12.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5458, allocations: 4 kB / 0.5634 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5458, allocations: 1.5 kB / 0.5634 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.5459, allocations: 0 / 0.5634 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.546, allocations: 18.91 kB / 0.5634 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.546, allocations: 3.953 kB / 0.5635 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.546, allocations: 17.67 kB / 0.5635 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.546, allocations: 0 / 0.5635 GB, free: 12.92 MB / 394.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 (8): * Single equations (assignments): 8 * 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 4.721e-05/0.5461, allocations: 106.6 kB / 0.5636 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.5461, allocations: 7.906 kB / 0.5636 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.5463, allocations: 110.8 kB / 0.5637 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5463, allocations: 4 kB / 0.5637 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5463, allocations: 0 / 0.5637 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.5463, allocations: 5.359 kB / 0.5637 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.5467, allocations: 394.6 kB / 0.5641 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5467, allocations: 0 / 0.5641 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.5468, allocations: 18.67 kB / 0.5641 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5468, allocations: 0 / 0.5641 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5468, allocations: 7.703 kB / 0.5641 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5468, allocations: 1.406 kB / 0.5641 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5468, allocations: 0.875 kB / 0.5641 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.5469, allocations: 183.1 kB / 0.5643 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.547, allocations: 95.88 kB / 0.5644 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.547, allocations: 1.312 kB / 0.5644 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.5471, allocations: 17.62 kB / 0.5644 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.5471, allocations: 7.031 kB / 0.5644 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.5471, allocations: 4 kB / 0.5644 GB, free: 12.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.5472, allocations: 169.9 kB / 0.5646 GB, free: 11.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5473, allocations: 4 kB / 0.5646 GB, free: 11.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.5475, allocations: 29.62 kB / 0.5646 GB, free: 11.87 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008035/0.5483, allocations: 371.1 kB / 0.5649 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.5484, allocations: 43.31 kB / 0.565 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5484, allocations: 0 / 0.565 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.5485, allocations: 29.47 kB / 0.565 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.5487, allocations: 17.53 kB / 0.565 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.549, allocations: 198.3 kB / 0.5652 GB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.5492, allocations: 0.7113 MB / 0.5659 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.751e-05/0.5493, allocations: 22.69 kB / 0.5659 GB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.5493, allocations: 20.84 kB / 0.566 GB, free: 10.59 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5493, allocations: 4 kB / 0.566 GB, free: 10.58 MB / 394.7 MB Notification: Performance of Templates: time 0.003473/0.5528, allocations: 1.263 MB / 0.5672 GB, free: 9.734 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches