Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 183 kB / 16.63 MB, free: 5.137 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.00104/0.00104, allocations: 104.9 kB / 269.9 MB, free: 8.434 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.3084/0.3084, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009186/0.0009186, allocations: 59.91 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09566/0.09659, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003096/0.09973, allocations: 1.679 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.101, allocations: 0.9415 MB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.1011, allocations: 3.938 kB / 489.6 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1013, allocations: 19.92 kB / 489.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1015, allocations: 35.91 kB / 489.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.1019, allocations: 143.8 kB / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.102, allocations: 63.78 kB / 489.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1021, allocations: 28.11 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.1022, allocations: 23.91 kB / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1023, allocations: 27.86 kB / 490 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1023, allocations: 4 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1024, allocations: 51.95 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1025, allocations: 19.88 kB / 490 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.1026, allocations: 27.8 kB / 490.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1027, allocations: 99.69 kB / 490.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1027, allocations: 0 / 490.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1027, allocations: 0 / 490.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1027, allocations: 4 kB / 490.2 MB, free: 9.371 MB / 378.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.0004531/0.1032, allocations: 387.2 kB / 490.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1032, allocations: 8.031 kB / 490.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.1033, allocations: 8.844 kB / 490.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1035, allocations: 184.3 kB / 490.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1035, allocations: 4.375 kB / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1035, allocations: 4.375 kB / 490.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1037, allocations: 83.45 kB / 490.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1038, allocations: 0 / 490.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1038, allocations: 0 / 490.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1038, allocations: 0 / 490.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1039, allocations: 39.95 kB / 490.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.1044, allocations: 316.7 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1045, allocations: 42.5 kB / 491.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.1046, allocations: 24.94 kB / 491.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1046, allocations: 8 kB / 491.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1046, allocations: 38.56 kB / 491.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.1046, allocations: 3.984 kB / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007193/0.1054, allocations: 217.1 kB / 491.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1054, allocations: 89.11 kB / 491.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1055, allocations: 129.6 kB / 491.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1056, allocations: 29.7 kB / 491.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.1056, allocations: 96.03 kB / 491.8 MB, free: 7.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1056, allocations: 23.66 kB / 491.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1057, allocations: 21.7 kB / 491.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1058, allocations: 322.8 kB / 492.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1059, allocations: 48.02 kB / 492.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1061, allocations: 53.62 kB / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.1063, allocations: 89.02 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1063, allocations: 0 / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002873/0.1066, allocations: 125.6 kB / 492.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1066, allocations: 4 kB / 492.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.1066, allocations: 4 kB / 492.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1066, allocations: 0 / 492.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1068, allocations: 15.98 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1068, allocations: 7.938 kB / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.1068, allocations: 15.92 kB / 492.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.1068, allocations: 4 kB / 492.6 MB, free: 6.734 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.133e-05/0.1069, allocations: 117.8 kB / 492.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.107, allocations: 7.906 kB / 492.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.1073, allocations: 134 kB / 492.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1073, allocations: 0 / 492.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1073, allocations: 4 kB / 492.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1073, allocations: 3.938 kB / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.1078, allocations: 410.4 kB / 493.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1079, allocations: 0 / 493.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.1079, allocations: 15.98 kB / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.108, allocations: 7.938 kB / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.108, allocations: 11.94 kB / 493.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.108, allocations: 0 / 493.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.108, allocations: 0 / 493.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.1086, allocations: 0.8214 MB / 494.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.1087, allocations: 85.09 kB / 494.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1087, allocations: 0 / 494.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.1088, allocations: 8 kB / 494.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1089, allocations: 7.922 kB / 494.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1089, allocations: 15.94 kB / 494.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.96e-05/0.1089, allocations: 107.2 kB / 494.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1089, allocations: 0 / 494.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003308/0.1093, allocations: 24 kB / 494.3 MB, free: 4.824 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008183/0.1101, allocations: 446.6 kB / 494.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.1104, allocations: 91.92 kB / 494.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1104, allocations: 4 kB / 494.9 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1105, allocations: 47.91 kB / 494.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1108, allocations: 24.53 kB / 494.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.1113, allocations: 351 kB / 495.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1115, allocations: 0.7004 MB / 496 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.065e-05/0.1116, allocations: 19.98 kB / 496 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.1117, allocations: 19.44 kB / 496 MB, free: 3.117 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1117, allocations: 0 / 496 MB, free: 3.117 MB / 378.7 MB Notification: Performance of Templates: time 0.003271/0.115, allocations: 1.467 MB / 497.5 MB, free: 1.648 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches