Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001176/0.001176, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.201/0.201, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 69.2 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09684, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002825/0.0997, allocations: 1.629 MB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007068/0.1004, allocations: 427.2 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.1005, allocations: 0 / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.101, allocations: 447.2 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.1013, allocations: 247.5 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.1017, allocations: 154.9 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1018, allocations: 163.6 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.1019, allocations: 4 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.102, allocations: 107.8 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1022, allocations: 207.6 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1023, allocations: 0 / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.1023, allocations: 24 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.1024, allocations: 75.69 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.1025, allocations: 103 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1027, allocations: 175.8 kB / 472.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1027, allocations: 0 / 472.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1027, allocations: 0 / 472.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1028, allocations: 4 kB / 472.9 MB, free: 11.08 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.0006065/0.1034, allocations: 0.6222 MB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1034, allocations: 8.031 kB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.1035, allocations: 44.38 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1037, allocations: 296.2 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1037, allocations: 4.359 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1037, allocations: 8.375 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1039, allocations: 53.75 kB / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1039, allocations: 3.984 kB / 473.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1039, allocations: 0 / 473.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1039, allocations: 4 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.861e-05/0.104, allocations: 23.98 kB / 474 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1045, allocations: 380.7 kB / 474.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.1046, allocations: 38.5 kB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.1046, allocations: 8.922 kB / 474.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1047, allocations: 8 kB / 474.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1047, allocations: 34.56 kB / 474.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1047, allocations: 0 / 474.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002513/0.1049, allocations: 97.11 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.105, allocations: 55.41 kB / 474.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.1058, allocations: 0.8613 MB / 475.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1058, allocations: 29.83 kB / 475.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.106, allocations: 216.1 kB / 475.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.106, allocations: 7.891 kB / 475.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.106, allocations: 13.72 kB / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1062, allocations: 366.7 kB / 476.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.1062, allocations: 11.98 kB / 476.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.1063, allocations: 8 kB / 476.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.1063, allocations: 32.91 kB / 476.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1064, allocations: 0 / 476.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001545/0.1065, allocations: 89.2 kB / 476.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1065, allocations: 7.938 kB / 476.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1065, allocations: 0 / 476.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1066, allocations: 0 / 476.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.1066, allocations: 4 kB / 476.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1066, allocations: 7.938 kB / 476.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.1067, allocations: 8.016 kB / 476.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1067, allocations: 0 / 476.2 MB, free: 7.535 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.0001746/0.1069, allocations: 213.7 kB / 476.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.1069, allocations: 43.44 kB / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.1072, allocations: 108.6 kB / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1072, allocations: 0 / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1072, allocations: 4 kB / 476.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1072, allocations: 0 / 476.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1074, allocations: 293.5 kB / 476.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1075, allocations: 0 / 476.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.1075, allocations: 7.938 kB / 476.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1075, allocations: 0 / 476.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1075, allocations: 0 / 476.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1075, allocations: 0 / 476.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1075, allocations: 3.938 kB / 476.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1077, allocations: 194.9 kB / 477.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.1078, allocations: 108.6 kB / 477.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1078, allocations: 4 kB / 477.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.1079, allocations: 7.984 kB / 477.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.108, allocations: 0 / 477.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.108, allocations: 0 / 477.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005665/0.1086, allocations: 0.6472 MB / 477.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1086, allocations: 0 / 477.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1088, allocations: 20 kB / 477.9 MB, free: 5.797 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.0007697/0.1096, allocations: 354.3 kB / 478.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1098, allocations: 27.92 kB / 478.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1098, allocations: 4.062 kB / 478.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.1098, allocations: 15.98 kB / 478.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1102, allocations: 21.95 kB / 478.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1113, allocations: 0.8685 MB / 479.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1116, allocations: 0.8184 MB / 480 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1117, allocations: 15.44 kB / 480 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1117, allocations: 4 kB / 480 MB, free: 3.742 MB / 350.1 MB Notification: Performance of Templates: time 0.006219/0.1179, allocations: 3.449 MB / 483.4 MB, free: 296 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches