Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008379/0.0008381, allocations: 95.17 kB / 18 MB, free: 5.609 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.001464/0.001464, allocations: 176.6 kB / 18.91 MB, free: 4.738 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.379/1.379, allocations: 223.3 MB / 243 MB, free: 14.43 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.1866/0.1866, allocations: 44.24 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 10.75 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09854, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001867/0.1004, allocations: 1.294 MB / 474.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1019, allocations: 0.9961 MB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.102, allocations: 3.938 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1022, allocations: 19.88 kB / 475.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1024, allocations: 35.91 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1027, allocations: 99.31 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1029, allocations: 71.81 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.103, allocations: 16.19 kB / 475.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.103, allocations: 19.86 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1032, allocations: 31.84 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1032, allocations: 0 / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1033, allocations: 51.98 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.1034, allocations: 7.984 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.1034, allocations: 57.44 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1036, allocations: 72.11 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1036, allocations: 4 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1036, allocations: 3.984 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1036, allocations: 0 / 475.7 MB, free: 10.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004325/0.104, allocations: 381.6 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1041, allocations: 8.031 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1041, allocations: 12.84 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1043, allocations: 188.2 kB / 476.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1043, allocations: 4.375 kB / 476.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1044, allocations: 4.375 kB / 476.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1046, allocations: 91.23 kB / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1046, allocations: 0 / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1046, allocations: 4 kB / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1046, allocations: 8 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1047, allocations: 31.97 kB / 476.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1052, allocations: 316.7 kB / 476.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1053, allocations: 54.56 kB / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.1054, allocations: 24.97 kB / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1054, allocations: 0 / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1054, allocations: 42.59 kB / 476.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1054, allocations: 0 / 476.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006562/0.1061, allocations: 213.2 kB / 477 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1061, allocations: 81.11 kB / 477.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1063, allocations: 141.8 kB / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1063, allocations: 29.7 kB / 477.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.1064, allocations: 100.1 kB / 477.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1064, allocations: 23.62 kB / 477.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.1064, allocations: 9.719 kB / 477.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1065, allocations: 326.8 kB / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.1066, allocations: 35.97 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.173e-05/0.1067, allocations: 45.7 kB / 477.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1069, allocations: 81.03 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1069, allocations: 0 / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002354/0.1072, allocations: 121.5 kB / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1072, allocations: 4 kB / 478 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1072, allocations: 3.938 kB / 478 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.1072, allocations: 0 / 478 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1073, allocations: 23.98 kB / 478 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1073, allocations: 3.938 kB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.1074, allocations: 12 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1074, allocations: 3.984 kB / 478.1 MB, free: 7.879 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 8.474e-05/0.1075, allocations: 118.4 kB / 478.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.1075, allocations: 7.906 kB / 478.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.1078, allocations: 141.9 kB / 478.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1079, allocations: 3.984 kB / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1079, allocations: 3.938 kB / 478.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1079, allocations: 0 / 478.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.1084, allocations: 406.5 kB / 478.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1084, allocations: 0 / 478.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.1084, allocations: 19.98 kB / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1085, allocations: 3.938 kB / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1085, allocations: 4 kB / 478.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1085, allocations: 4 kB / 478.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1085, allocations: 0 / 478.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1088, allocations: 211.6 kB / 479 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.1088, allocations: 92.94 kB / 479.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1088, allocations: 384 / 479.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.1089, allocations: 12 kB / 479.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.109, allocations: 7.922 kB / 479.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.109, allocations: 8 kB / 479.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.766e-05/0.1091, allocations: 111.2 kB / 479.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1091, allocations: 0 / 479.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1093, allocations: 31.94 kB / 479.2 MB, free: 6.609 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 (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.0009918/0.1103, allocations: 437.3 kB / 479.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.1106, allocations: 75.95 kB / 479.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1106, allocations: 0 / 479.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1107, allocations: 47.91 kB / 479.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.111, allocations: 23.92 kB / 479.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.1115, allocations: 250.7 kB / 480 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1117, allocations: 0.6965 MB / 480.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.1118, allocations: 23.42 kB / 480.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1118, allocations: 0 / 480.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of Templates: time 0.003495/0.1153, allocations: 1.777 MB / 482.5 MB, free: 3.41 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches