Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 182.8 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.451/1.451, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007761/0.0007762, allocations: 97.11 kB / 267.1 MB, free: 9.273 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.3513/0.3513, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.398e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4541, allocations: 86.28 MB / 0.5571 GB, free: 17.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.4543, allocations: 79.19 kB / 0.5571 GB, free: 17.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008527/0.4628, allocations: 3.832 MB / 0.5609 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.4628, allocations: 0 / 0.5609 GB, free: 15.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4629, allocations: 4 kB / 0.5609 GB, free: 15.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002599/0.4631, allocations: 384.8 kB / 0.5613 GB, free: 14.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4632, allocations: 11.97 kB / 0.5613 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.4632, allocations: 13.16 kB / 0.5613 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.4634, allocations: 198.1 kB / 0.5615 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.4634, allocations: 0 / 0.5615 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.4634, allocations: 7.375 kB / 0.5615 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.4635, allocations: 39.53 kB / 0.5615 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4635, allocations: 0 / 0.5615 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4635, allocations: 0 / 0.5615 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4636, allocations: 1.375 kB / 0.5615 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.4636, allocations: 19.38 kB / 0.5615 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.4639, allocations: 285.8 kB / 0.5618 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.464, allocations: 44.61 kB / 0.5619 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.4641, allocations: 8.859 kB / 0.5619 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.4641, allocations: 0 / 0.5619 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.094e-05/0.4641, allocations: 38.56 kB / 0.5619 GB, free: 14.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.4641, allocations: 0 / 0.5619 GB, free: 14.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003197/0.4644, allocations: 117.3 kB / 0.562 GB, free: 14.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.4645, allocations: 59.3 kB / 0.5621 GB, free: 13.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4646, allocations: 174.3 kB / 0.5622 GB, free: 13.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.4646, allocations: 25.7 kB / 0.5623 GB, free: 13.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.4647, allocations: 104.3 kB / 0.5624 GB, free: 13.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.4647, allocations: 13.27 kB / 0.5624 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.4647, allocations: 3.375 kB / 0.5624 GB, free: 13.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.4647, allocations: 321 kB / 0.5627 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.4648, allocations: 11.12 kB / 0.5627 GB, free: 13.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.4648, allocations: 15.06 kB / 0.5627 GB, free: 13.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/0.4648, allocations: 8.688 kB / 0.5627 GB, free: 13.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.4648, allocations: 0 / 0.5627 GB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.8e-05/0.4649, allocations: 71.27 kB / 0.5628 GB, free: 13.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.4649, allocations: 4 kB / 0.5628 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.4649, allocations: 4 kB / 0.5628 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.4649, allocations: 0 / 0.5628 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.465, allocations: 15.28 kB / 0.5628 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.465, allocations: 0 / 0.5628 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.4651, allocations: 12.45 kB / 0.5628 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4651, allocations: 5.969 kB / 0.5628 GB, free: 13.24 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 (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 3.606e-05/0.4651, allocations: 104.9 kB / 0.5629 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.4652, allocations: 11.91 kB / 0.5629 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.4653, allocations: 77.27 kB / 0.563 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4653, allocations: 0 / 0.563 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4653, allocations: 1.312 kB / 0.563 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4653, allocations: 0 / 0.563 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.4656, allocations: 346.7 kB / 0.5633 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4656, allocations: 0 / 0.5633 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.4656, allocations: 14.95 kB / 0.5634 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4656, allocations: 4 kB / 0.5634 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.4656, allocations: 0 / 0.5634 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4657, allocations: 5.125 kB / 0.5634 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4657, allocations: 3.953 kB / 0.5634 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.892e-05/0.4658, allocations: 160.3 kB / 0.5635 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.4658, allocations: 93.62 kB / 0.5636 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4658, allocations: 1.641 kB / 0.5636 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.4659, allocations: 13.31 kB / 0.5636 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.4659, allocations: 5.406 kB / 0.5636 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4659, allocations: 7.953 kB / 0.5636 GB, free: 12.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.22e-05/0.466, allocations: 142.3 kB / 0.5638 GB, free: 12.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.466, allocations: 0 / 0.5638 GB, free: 12.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.4663, allocations: 28.56 kB / 0.5638 GB, free: 12.27 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 (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.0006602/0.4669, allocations: 366.6 kB / 0.5641 GB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.892e-05/0.467, allocations: 31.06 kB / 0.5642 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-05/0.467, allocations: 0 / 0.5642 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.713e-05/0.4671, allocations: 16.92 kB / 0.5642 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.4673, allocations: 14.25 kB / 0.5642 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.4675, allocations: 152.6 kB / 0.5644 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.4676, allocations: 0.7026 MB / 0.565 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.1e-05/0.4677, allocations: 16.78 kB / 0.5651 GB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.4677, allocations: 11.44 kB / 0.5651 GB, free: 11.07 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4677, allocations: 0 / 0.5651 GB, free: 11.07 MB / 394.7 MB Notification: Performance of Templates: time 0.002718/0.4705, allocations: 1.129 MB / 0.5662 GB, free: 10.39 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches