Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009753/0.0009755, allocations: 200.9 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007655/0.0007655, allocations: 93.19 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.181/0.181, allocations: 44.84 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002639, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 62.95 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001888/0.1081, allocations: 1.311 MB / 0.5166 GB, free: 1.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.1089, allocations: 483.3 kB / 0.5171 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.109, allocations: 4 kB / 0.5171 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1093, allocations: 75.83 kB / 0.5171 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1095, allocations: 79.78 kB / 0.5172 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1097, allocations: 86.08 kB / 0.5173 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1099, allocations: 67.77 kB / 0.5174 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.11, allocations: 19.97 kB / 0.5174 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.1101, allocations: 27.91 kB / 0.5174 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.1102, allocations: 51.75 kB / 0.5175 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1102, allocations: 0 / 0.5175 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.1103, allocations: 43.94 kB / 0.5175 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.1103, allocations: 15.98 kB / 0.5175 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.1104, allocations: 33.64 kB / 0.5175 GB, free: 476 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1105, allocations: 79.88 kB / 0.5176 GB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1105, allocations: 0 / 0.5176 GB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1105, allocations: 0 / 0.5176 GB, free: 396 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1106, allocations: 0 / 0.5176 GB, free: 396 kB / 346.7 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.1907/0.3012, allocations: 402 kB / 0.518 GB, free: 11.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3013, allocations: 9.469 kB / 0.518 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.3013, allocations: 14.31 kB / 0.518 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3015, allocations: 195.8 kB / 0.5182 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3015, allocations: 1.406 kB / 0.5182 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3016, allocations: 3.656 kB / 0.5182 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3017, allocations: 56.25 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3018, allocations: 0.625 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3018, allocations: 1.188 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3018, allocations: 4.828 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3019, allocations: 36.77 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.3023, allocations: 290.4 kB / 0.5186 GB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3024, allocations: 45.41 kB / 0.5186 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.3024, allocations: 21.09 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3025, allocations: 2.156 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3025, allocations: 32.69 kB / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.3025, allocations: 0 / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009207/0.3034, allocations: 252.3 kB / 0.5189 GB, free: 11.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.3035, allocations: 57.31 kB / 0.519 GB, free: 11.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.3037, allocations: 215.7 kB / 0.5192 GB, free: 11.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.3037, allocations: 28.84 kB / 0.5192 GB, free: 10.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.3037, allocations: 108 kB / 0.5193 GB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.3038, allocations: 34.05 kB / 0.5194 GB, free: 10.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.3038, allocations: 0.6875 kB / 0.5194 GB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.3038, allocations: 324 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.3039, allocations: 27.86 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.304, allocations: 28.52 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.3041, allocations: 34.14 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3041, allocations: 0 / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002113/0.3043, allocations: 113.7 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3044, allocations: 6.969 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3044, allocations: 0.6562 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3044, allocations: 5.125 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3045, allocations: 21.02 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3045, allocations: 7.828 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.3046, allocations: 13.88 kB / 0.5199 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3046, allocations: 2 kB / 0.5199 GB, free: 10.51 MB / 346.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 (8): * Single equations (assignments): 8 * 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 7.121e-05/0.3046, allocations: 126.3 kB / 0.52 GB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.3047, allocations: 14.27 kB / 0.52 GB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.305, allocations: 124.2 kB / 0.5202 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.305, allocations: 1.734 kB / 0.5202 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.305, allocations: 1.188 kB / 0.5202 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.305, allocations: 8.594 kB / 0.5202 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.3055, allocations: 414.2 kB / 0.5206 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3055, allocations: 1.219 kB / 0.5206 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.3056, allocations: 19.66 kB / 0.5206 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3056, allocations: 1.219 kB / 0.5206 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3056, allocations: 10.53 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3056, allocations: 3.938 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3056, allocations: 0.9688 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.3058, allocations: 211.1 kB / 0.5208 GB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.3059, allocations: 93.23 kB / 0.5209 GB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3059, allocations: 2.438 kB / 0.5209 GB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.306, allocations: 12.97 kB / 0.5209 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.306, allocations: 7.25 kB / 0.5209 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.306, allocations: 2.5 kB / 0.5209 GB, free: 9.766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3061, allocations: 160.7 kB / 0.5211 GB, free: 9.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3062, allocations: 0 / 0.5211 GB, free: 9.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.3064, allocations: 23.14 kB / 0.5211 GB, free: 9.688 MB / 346.7 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 (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.0008283/0.3072, allocations: 450.9 kB / 0.5215 GB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.3075, allocations: 76.34 kB / 0.5216 GB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3075, allocations: 4.25 kB / 0.5216 GB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.3076, allocations: 40.02 kB / 0.5216 GB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.3079, allocations: 17.66 kB / 0.5217 GB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.3083, allocations: 296.2 kB / 0.5219 GB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.3084, allocations: 0.7106 MB / 0.5226 GB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.3085, allocations: 15.91 kB / 0.5226 GB, free: 8.559 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3085, allocations: 3.938 kB / 0.5227 GB, free: 8.555 MB / 346.7 MB Notification: Performance of Templates: time 0.003415/0.3119, allocations: 1.738 MB / 0.5244 GB, free: 8.363 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches