Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 93.98 kB / 18 MB, free: 5.734 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: 177.7 kB / 18.91 MB, free: 4.867 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.351/1.351, allocations: 223.3 MB / 242.9 MB, free: 14.48 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.1989/0.1989, allocations: 44.25 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003221, allocations: 11.94 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1016, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001913/0.1036, allocations: 1.294 MB / 474.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.1044, allocations: 407.4 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.1045, allocations: 4 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.1048, allocations: 63.84 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1049, allocations: 59.8 kB / 474.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.1053, allocations: 102.8 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1054, allocations: 75.81 kB / 474.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1055, allocations: 16.19 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.1056, allocations: 35.78 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.1057, allocations: 43.89 kB / 475 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1057, allocations: 0 / 475 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1059, allocations: 43.97 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.1059, allocations: 19.92 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.106, allocations: 53.45 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1061, allocations: 76.16 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1061, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1061, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.1062, allocations: 4 kB / 475.2 MB, free: 11.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004516/0.1066, allocations: 395 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1067, allocations: 12.03 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.1067, allocations: 8.844 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1069, allocations: 196.1 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1069, allocations: 384 / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.107, allocations: 8.375 kB / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1071, allocations: 57.61 kB / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1071, allocations: 7.906 kB / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1071, allocations: 3.938 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1072, allocations: 0 / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1073, allocations: 35.97 kB / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.1077, allocations: 304.8 kB / 476.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1078, allocations: 46.56 kB / 476.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.1079, allocations: 16.94 kB / 476.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1079, allocations: 7.984 kB / 476.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.108, allocations: 42.5 kB / 476.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.108, allocations: 0 / 476.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009202/0.1089, allocations: 257 kB / 476.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.109, allocations: 55.41 kB / 476.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1091, allocations: 214.1 kB / 476.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1092, allocations: 25.7 kB / 476.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.1092, allocations: 108 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1093, allocations: 27.72 kB / 477 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.1093, allocations: 13.72 kB / 477 MB, free: 9.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1094, allocations: 326.8 kB / 477.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.1095, allocations: 39.97 kB / 477.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.1096, allocations: 31.98 kB / 477.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.1098, allocations: 80.81 kB / 477.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1098, allocations: 0 / 477.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.1101, allocations: 125.4 kB / 477.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1101, allocations: 6.188 kB / 477.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1101, allocations: 0 / 477.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1101, allocations: 0 / 477.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.1102, allocations: 19.98 kB / 477.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1102, allocations: 8.25 kB / 477.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.1103, allocations: 8 kB / 477.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1103, allocations: 7.984 kB / 477.6 MB, free: 8.352 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 (8): * Single equations (assignments): 8 * 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.646e-05/0.1104, allocations: 122.4 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1104, allocations: 11.91 kB / 477.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.1107, allocations: 154.2 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1107, allocations: 0 / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1108, allocations: 3.938 kB / 477.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1108, allocations: 0 / 477.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.1113, allocations: 427.2 kB / 478.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1113, allocations: 0 / 478.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.1114, allocations: 23.92 kB / 478.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1114, allocations: 0 / 478.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1114, allocations: 4 kB / 478.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1114, allocations: 0 / 478.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1114, allocations: 3.938 kB / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.1117, allocations: 224.2 kB / 478.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1118, allocations: 92.94 kB / 478.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1118, allocations: 4 kB / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.1119, allocations: 8 kB / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.112, allocations: 7.984 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.112, allocations: 4 kB / 478.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1121, allocations: 155.2 kB / 478.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1121, allocations: 0 / 478.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1124, allocations: 20 kB / 478.9 MB, free: 7 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001028/0.1135, allocations: 454.6 kB / 479.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.1137, allocations: 79.95 kB / 479.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1137, allocations: 4 kB / 479.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1138, allocations: 47.91 kB / 479.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1142, allocations: 19.92 kB / 479.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.1147, allocations: 316.3 kB / 479.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.115, allocations: 0.7121 MB / 480.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.115, allocations: 11.44 kB / 480.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.115, allocations: 0 / 480.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of Templates: time 0.003539/0.1186, allocations: 1.748 MB / 482.2 MB, free: 3.742 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches