Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008211/0.0008211, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007026/0.0007027, allocations: 88.98 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2897/0.2897, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 12 kB / 432 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 58.85 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001671/0.1072, allocations: 1.259 MB / 492.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005023/0.1077, allocations: 291.8 kB / 492.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.1078, allocations: 8 kB / 492.4 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.108, allocations: 71.83 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.1081, allocations: 47.81 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.1083, allocations: 59.92 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.1085, allocations: 51.84 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.1086, allocations: 23.95 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.1086, allocations: 23.92 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.1087, allocations: 35.83 kB / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1087, allocations: 0 / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.1088, allocations: 28 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.1088, allocations: 15.92 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.1089, allocations: 45.52 kB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.109, allocations: 63.89 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.109, allocations: 0 / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.109, allocations: 0 / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.109, allocations: 0 / 492.8 MB, free: 8.637 MB / 378.7 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.0003891/0.1094, allocations: 387.4 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1094, allocations: 12.03 kB / 493.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1095, allocations: 8.844 kB / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.1096, allocations: 199.9 kB / 493.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1097, allocations: 384 / 493.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1097, allocations: 8.375 kB / 493.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1098, allocations: 57.81 kB / 493.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1098, allocations: 4 kB / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.1099, allocations: 0 / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1099, allocations: 0 / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.906e-05/0.11, allocations: 27.97 kB / 493.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.1103, allocations: 280.8 kB / 493.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1105, allocations: 50.5 kB / 493.8 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.1105, allocations: 12.86 kB / 493.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1106, allocations: 0 / 493.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1106, allocations: 34.66 kB / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1106, allocations: 3.938 kB / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005181/0.1111, allocations: 165.2 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1112, allocations: 55.41 kB / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.1113, allocations: 186.2 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.1114, allocations: 29.7 kB / 494.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.1115, allocations: 108 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1115, allocations: 11.8 kB / 494.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.1115, allocations: 0 / 494.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1116, allocations: 322.8 kB / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.1117, allocations: 23.98 kB / 494.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.1117, allocations: 27.92 kB / 494.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1119, allocations: 52.83 kB / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.1119, allocations: 0 / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.1121, allocations: 93.58 kB / 494.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1121, allocations: 4 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1121, allocations: 0 / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1121, allocations: 0 / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.1122, allocations: 15.98 kB / 495 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1122, allocations: 3.938 kB / 495 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1123, allocations: 11.98 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1123, allocations: 4 kB / 495 MB, free: 6.262 MB / 378.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.878e-05/0.1124, allocations: 129.7 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.1124, allocations: 7.906 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.1126, allocations: 106.2 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1127, allocations: 320 / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1127, allocations: 3.984 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1127, allocations: 0 / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.1131, allocations: 362.5 kB / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1131, allocations: 4 kB / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.1132, allocations: 15.98 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1132, allocations: 0 / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1132, allocations: 0 / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1132, allocations: 7.922 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1132, allocations: 0 / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1134, allocations: 195.3 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1135, allocations: 85.02 kB / 495.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1135, allocations: 0 / 495.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.1136, allocations: 11.92 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.1137, allocations: 8 kB / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1137, allocations: 0 / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1138, allocations: 155.9 kB / 496.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1138, allocations: 0 / 496.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.114, allocations: 15.94 kB / 496.1 MB, free: 5.07 MB / 378.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009712/0.115, allocations: 398.5 kB / 496.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1152, allocations: 55.97 kB / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1153, allocations: 0 / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.1153, allocations: 31.92 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1158, allocations: 15.92 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.1163, allocations: 246.8 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1166, allocations: 0.7004 MB / 497.5 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.1167, allocations: 11.44 kB / 497.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1167, allocations: 3.938 kB / 497.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of Templates: time 0.003711/0.1204, allocations: 1.427 MB / 498.9 MB, free: 2.176 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches