Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001757/0.001758, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.402/1.402, allocations: 222.9 MB / 243 MB, free: 15.08 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.2241/0.2241, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 60.31 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09968, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002375/0.1021, allocations: 1.571 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006074/0.1027, allocations: 415.2 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.1028, allocations: 0 / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.1031, allocations: 443.2 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.1034, allocations: 255.4 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1037, allocations: 123.1 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1039, allocations: 155.7 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.104, allocations: 15.98 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.1041, allocations: 103.8 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1042, allocations: 207.6 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1042, allocations: 4 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.1043, allocations: 20 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.1044, allocations: 83.69 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.1044, allocations: 95 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1047, allocations: 243 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1047, allocations: 0 / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1047, allocations: 0 / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1047, allocations: 4 kB / 474.4 MB, free: 9.957 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.000492/0.1052, allocations: 0.6286 MB / 475 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.264e-05/0.1052, allocations: 8.031 kB / 475 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.1053, allocations: 44.31 kB / 475.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1055, allocations: 288.3 kB / 475.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-06/0.1055, allocations: 384 / 475.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-06/0.1055, allocations: 384 / 475.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.709e-05/0.1056, allocations: 53.75 kB / 475.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-06/0.1056, allocations: 0 / 475.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.1056, allocations: 4 kB / 475.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-06/0.1056, allocations: 4 kB / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.1057, allocations: 19.98 kB / 475.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.106, allocations: 380.7 kB / 475.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.1061, allocations: 34.5 kB / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.1061, allocations: 16.91 kB / 475.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.1061, allocations: 4 kB / 475.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.1062, allocations: 30.56 kB / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1062, allocations: 0 / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.1064, allocations: 93.22 kB / 476 MB, free: 8.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.1064, allocations: 55.34 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.107, allocations: 0.8574 MB / 476.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1071, allocations: 25.83 kB / 476.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1072, allocations: 220.1 kB / 477.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.1072, allocations: 7.906 kB / 477.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.1072, allocations: 9.719 kB / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1074, allocations: 366.7 kB / 477.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.1074, allocations: 8 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.1074, allocations: 7.984 kB / 477.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.1075, allocations: 28.91 kB / 477.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1075, allocations: 0 / 477.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001228/0.1076, allocations: 93.06 kB / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.1076, allocations: 4 kB / 477.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1077, allocations: 0 / 477.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1077, allocations: 0 / 477.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.1077, allocations: 4 kB / 477.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1077, allocations: 0 / 477.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.1078, allocations: 15.95 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1078, allocations: 4 kB / 477.7 MB, free: 6.449 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 (2): * Single equations (assignments): 2 * 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 0.0001369/0.1079, allocations: 209.7 kB / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.108, allocations: 39.44 kB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.1081, allocations: 104.6 kB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1082, allocations: 0 / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1082, allocations: 3.984 kB / 478 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1082, allocations: 0 / 478 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1084, allocations: 285.5 kB / 478.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1084, allocations: 3.938 kB / 478.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.1084, allocations: 11.92 kB / 478.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1084, allocations: 4 kB / 478.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.1084, allocations: 0 / 478.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1085, allocations: 0 / 478.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1085, allocations: 0 / 478.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.1086, allocations: 183 kB / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.1087, allocations: 108.5 kB / 478.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1087, allocations: 3.984 kB / 478.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.1088, allocations: 4 kB / 478.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.1088, allocations: 4 kB / 478.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1088, allocations: 0 / 478.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004737/0.1093, allocations: 0.6433 MB / 479.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1093, allocations: 0 / 479.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1095, allocations: 27.92 kB / 479.3 MB, free: 4.73 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 (2): * Single equations (assignments): 2 * 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.0006817/0.1102, allocations: 364.6 kB / 479.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1103, allocations: 19.98 kB / 479.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1103, allocations: 8.062 kB / 479.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.1104, allocations: 7.984 kB / 479.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1107, allocations: 25.95 kB / 479.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.1115, allocations: 0.7516 MB / 480.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1118, allocations: 0.8143 MB / 481.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.1118, allocations: 4 kB / 481.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.1119, allocations: 11.44 kB / 481.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1119, allocations: 0 / 481.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of Templates: time 0.2086/0.3205, allocations: 1.258 MB / 482.5 MB, free: 1.559 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches