Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.001406/0.001406, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.318/1.318, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.1949/0.1949, allocations: 44.18 MB / 336.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.02 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1011, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00316/0.1043, allocations: 1.637 MB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000775/0.1051, allocations: 403.4 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.1052, allocations: 3.938 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1055, allocations: 103.8 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1058, allocations: 79.78 kB / 471.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1061, allocations: 79.8 kB / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1063, allocations: 71.88 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1064, allocations: 20.17 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.1065, allocations: 47.77 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1067, allocations: 59.88 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1067, allocations: 7.938 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1068, allocations: 39.98 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.1069, allocations: 23.91 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1069, allocations: 35.73 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1071, allocations: 84.19 kB / 472 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1071, allocations: 4 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1071, allocations: 0 / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1071, allocations: 0 / 472.1 MB, free: 12.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.0005329/0.1077, allocations: 426.7 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1077, allocations: 12.03 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.1078, allocations: 12.75 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.108, allocations: 204.6 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.108, allocations: 384 / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.108, allocations: 4.375 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1082, allocations: 61.61 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1082, allocations: 0 / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1083, allocations: 0 / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1083, allocations: 4 kB / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.1084, allocations: 23.97 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1088, allocations: 304.7 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1089, allocations: 42.56 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.109, allocations: 20.94 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.109, allocations: 4 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.109, allocations: 34.5 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.109, allocations: 0 / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008816/0.1099, allocations: 225 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.11, allocations: 51.41 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1102, allocations: 242.6 kB / 473.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1102, allocations: 25.7 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.1103, allocations: 108.1 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1103, allocations: 31.55 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.1104, allocations: 21.72 kB / 473.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1105, allocations: 322.8 kB / 474.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.1106, allocations: 28.05 kB / 474.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.1107, allocations: 27.92 kB / 474.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1108, allocations: 60.83 kB / 474.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1108, allocations: 4 kB / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001927/0.111, allocations: 109.7 kB / 474.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.111, allocations: 8 kB / 474.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1111, allocations: 0 / 474.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1111, allocations: 4 kB / 474.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.1112, allocations: 15.98 kB / 474.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1112, allocations: 3.938 kB / 474.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.749e-05/0.1112, allocations: 4 kB / 474.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1112, allocations: 8 kB / 474.5 MB, free: 9.391 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 0.0001014/0.1114, allocations: 129.8 kB / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.1114, allocations: 15.81 kB / 474.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.1117, allocations: 119 kB / 474.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1117, allocations: 0 / 474.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1117, allocations: 3.938 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1117, allocations: 4 kB / 474.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.1122, allocations: 407.2 kB / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1122, allocations: 0 / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.1123, allocations: 23.92 kB / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1123, allocations: 0 / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1123, allocations: 4 kB / 475.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1123, allocations: 0 / 475.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1123, allocations: 12.39 kB / 475.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1126, allocations: 200.3 kB / 475.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.1126, allocations: 88.86 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1127, allocations: 4 kB / 475.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.1127, allocations: 11.98 kB / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.1128, allocations: 7.984 kB / 475.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.1128, allocations: 7.984 kB / 475.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.113, allocations: 184.3 kB / 475.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.113, allocations: 0 / 475.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1132, allocations: 19.98 kB / 475.7 MB, free: 8.066 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.001029/0.1143, allocations: 457.1 kB / 476.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1145, allocations: 71.94 kB / 476.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1145, allocations: 0 / 476.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.1146, allocations: 43.91 kB / 476.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.115, allocations: 19.94 kB / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.1156, allocations: 340.5 kB / 476.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1159, allocations: 0.7197 MB / 477.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.116, allocations: 11.44 kB / 477.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.116, allocations: 0 / 477.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Templates: time 0.003722/0.1197, allocations: 1.779 MB / 479.1 MB, free: 4.766 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches