Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 183.7 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.433/1.433, 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.000789/0.0007889, allocations: 94.36 kB / 267.1 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.3296/0.3296, allocations: 43.48 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.284e-05, allocations: 0 / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4526, allocations: 87.38 MB / 0.5581 GB, free: 16.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4529, allocations: 78.62 kB / 0.5582 GB, free: 16.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009978/0.4629, allocations: 4.406 MB / 0.5625 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4629, allocations: 1.594 kB / 0.5625 GB, free: 14.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.463, allocations: 4 kB / 0.5625 GB, free: 14.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002976/0.4633, allocations: 391.7 kB / 0.5629 GB, free: 13.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4633, allocations: 12.03 kB / 0.5629 GB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.4634, allocations: 9.734 kB / 0.5629 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4635, allocations: 186.1 kB / 0.5631 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4635, allocations: 7.438 kB / 0.5631 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4636, allocations: 0 / 0.5631 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.4637, allocations: 68.03 kB / 0.5632 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4637, allocations: 5.312 kB / 0.5632 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4637, allocations: 4 kB / 0.5632 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4638, allocations: 4 kB / 0.5632 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.4638, allocations: 25.11 kB / 0.5632 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.4642, allocations: 315.2 kB / 0.5635 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/0.4643, allocations: 42.34 kB / 0.5635 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.4643, allocations: 21.77 kB / 0.5636 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4643, allocations: 4 kB / 0.5636 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.4643, allocations: 30.56 kB / 0.5636 GB, free: 13.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.4643, allocations: 0 / 0.5636 GB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005907/0.4649, allocations: 159.7 kB / 0.5638 GB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.465, allocations: 85.78 kB / 0.5638 GB, free: 12.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4651, allocations: 125.4 kB / 0.564 GB, free: 12.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.4652, allocations: 27.53 kB / 0.564 GB, free: 12.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.4652, allocations: 99.7 kB / 0.5641 GB, free: 12.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.4653, allocations: 21.23 kB / 0.5641 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.4653, allocations: 3.562 kB / 0.5641 GB, free: 12.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.495e-05/0.4653, allocations: 316.9 kB / 0.5644 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.4654, allocations: 24.03 kB / 0.5644 GB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.4655, allocations: 43.66 kB / 0.5645 GB, free: 12.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.4656, allocations: 22.42 kB / 0.5645 GB, free: 12.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4656, allocations: 0 / 0.5645 GB, free: 12.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001826/0.4658, allocations: 90.48 kB / 0.5646 GB, free: 12.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4658, allocations: 5.266 kB / 0.5646 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4658, allocations: 0 / 0.5646 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4658, allocations: 3.953 kB / 0.5646 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.466, allocations: 28.77 kB / 0.5646 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.466, allocations: 0 / 0.5646 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.4661, allocations: 10.77 kB / 0.5646 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4662, allocations: 4 kB / 0.5646 GB, free: 12.14 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 (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 5.571e-05/0.4662, allocations: 109.8 kB / 0.5647 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.4663, allocations: 7.906 kB / 0.5647 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.4665, allocations: 111.5 kB / 0.5648 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4665, allocations: 3.953 kB / 0.5648 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4666, allocations: 7.938 kB / 0.5649 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4666, allocations: 1.781 kB / 0.5649 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.467, allocations: 369.4 kB / 0.5652 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.467, allocations: 4 kB / 0.5652 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.4672, allocations: 24.11 kB / 0.5652 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4672, allocations: 7.953 kB / 0.5652 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4672, allocations: 11.31 kB / 0.5653 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4672, allocations: 0 / 0.5653 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4672, allocations: 0 / 0.5653 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.4674, allocations: 185.6 kB / 0.5654 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.4675, allocations: 87.59 kB / 0.5655 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4675, allocations: 7.953 kB / 0.5655 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4677, allocations: 15.98 kB / 0.5655 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.4678, allocations: 7.094 kB / 0.5655 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.4678, allocations: 0 / 0.5655 GB, free: 11.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.4679, allocations: 112.7 kB / 0.5657 GB, free: 11.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4679, allocations: 0 / 0.5657 GB, free: 11.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004273/0.4683, allocations: 28.59 kB / 0.5657 GB, free: 11.13 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 (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.001234/0.4696, allocations: 422.7 kB / 0.5661 GB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4697, allocations: 49.84 kB / 0.5661 GB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4698, allocations: 0 / 0.5661 GB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.4698, allocations: 32.59 kB / 0.5662 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.4701, allocations: 14.45 kB / 0.5662 GB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.4705, allocations: 144.5 kB / 0.5663 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.4707, allocations: 0.7009 MB / 0.567 GB, free: 9.895 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.4708, allocations: 18.19 kB / 0.567 GB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.4709, allocations: 18.77 kB / 0.567 GB, free: 9.863 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4709, allocations: 0 / 0.567 GB, free: 9.863 MB / 394.7 MB Notification: Performance of Templates: time 0.004812/0.4757, allocations: 1.467 MB / 0.5685 GB, free: 8.699 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches