Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 113.1 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 193.3 kB / 18.25 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.9 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.17 MB / 336.2 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.36 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.1006, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002714/0.1034, allocations: 1.621 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1048, allocations: 1 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.1048, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1051, allocations: 19.92 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1053, allocations: 39.84 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1055, allocations: 99.06 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1057, allocations: 63.78 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1058, allocations: 8 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.762e-05/0.1059, allocations: 23.86 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.106, allocations: 34.23 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.106, allocations: 0 / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.1061, allocations: 51.97 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.1062, allocations: 15.92 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.1062, allocations: 23.88 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1064, allocations: 83.77 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1064, allocations: 0 / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1064, allocations: 3.938 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1064, allocations: 0 / 471.8 MB, free: 11.64 MB / 350.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.0004261/0.1068, allocations: 379.6 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1069, allocations: 8.031 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1069, allocations: 8.844 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.1071, allocations: 192.2 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1071, allocations: 4.375 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1071, allocations: 384 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1073, allocations: 71.52 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1073, allocations: 7.938 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1073, allocations: 0 / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1074, allocations: 0 / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.1074, allocations: 23.92 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.1078, allocations: 280.9 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.108, allocations: 46.48 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.1081, allocations: 16.86 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1081, allocations: 0 / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1081, allocations: 42.64 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1081, allocations: 0 / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005341/0.1087, allocations: 141.3 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.1087, allocations: 81.11 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1089, allocations: 129.8 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1089, allocations: 25.7 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.1089, allocations: 96.12 kB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.109, allocations: 15.75 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.109, allocations: 21.72 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1091, allocations: 322.8 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.1092, allocations: 19.98 kB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.1093, allocations: 33.7 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1094, allocations: 56.84 kB / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1094, allocations: 0 / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001896/0.1096, allocations: 89.52 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1097, allocations: 7.938 kB / 473.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1097, allocations: 0 / 473.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1097, allocations: 0 / 473.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.1098, allocations: 11.98 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1098, allocations: 4 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.1098, allocations: 4.25 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.1098, allocations: 4 kB / 473.9 MB, free: 9.293 MB / 350.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.107e-05/0.1099, allocations: 122.3 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.11, allocations: 7.906 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1102, allocations: 97.56 kB / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1102, allocations: 0 / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1102, allocations: 0 / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.1102, allocations: 12.27 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.1107, allocations: 350.5 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1107, allocations: 0 / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.1107, allocations: 19.88 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1107, allocations: 0 / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.1108, allocations: 3.984 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1108, allocations: 3.938 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1108, allocations: 0 / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.111, allocations: 187.4 kB / 474.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1111, allocations: 77.11 kB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1111, allocations: 7.984 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.1112, allocations: 7.938 kB / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.1112, allocations: 0 / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1112, allocations: 0 / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.13e-05/0.1113, allocations: 113.4 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1113, allocations: 0 / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1116, allocations: 27.91 kB / 474.9 MB, free: 8.172 MB / 350.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 () * Number of clocked 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 (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.0009729/0.1125, allocations: 447.6 kB / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1128, allocations: 51.95 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1128, allocations: 0 / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1129, allocations: 31.86 kB / 475.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1132, allocations: 15.98 kB / 475.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.1136, allocations: 185.4 kB / 475.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1139, allocations: 0.6885 MB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.092e-05/0.1139, allocations: 20.22 kB / 476.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.114, allocations: 19.42 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.114, allocations: 0 / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of Templates: time 0.003904/0.1179, allocations: 1.342 MB / 477.7 MB, free: 5.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches