Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001187, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1959/0.1959, allocations: 46.11 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 74.83 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09703, allocations: 62.45 MB / 481.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003178/0.1003, allocations: 1.598 MB / 483.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1019, allocations: 1.16 MB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.102, allocations: 0 / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.1022, allocations: 31.78 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1025, allocations: 83.61 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1028, allocations: 87.7 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1029, allocations: 67.83 kB / 484.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.103, allocations: 11.98 kB / 484.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.1031, allocations: 27.92 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1033, allocations: 31.78 kB / 484.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1033, allocations: 4 kB / 484.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.1035, allocations: 103.9 kB / 484.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.1035, allocations: 11.94 kB / 484.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1036, allocations: 23.86 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1038, allocations: 143.6 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1038, allocations: 0 / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1038, allocations: 0 / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.1038, allocations: 4 kB / 484.8 MB, free: 1.168 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004409/0.1043, allocations: 395.2 kB / 485.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1043, allocations: 12.03 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.1044, allocations: 4.938 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.1046, allocations: 196.1 kB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.1046, allocations: 384 / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1046, allocations: 4.375 kB / 485.4 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1047, allocations: 79.41 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1048, allocations: 3.984 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1048, allocations: 0 / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1048, allocations: 0 / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.1049, allocations: 23.97 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1052, allocations: 276.9 kB / 485.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1054, allocations: 46.5 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.1054, allocations: 20.94 kB / 485.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1055, allocations: 0 / 485.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.1055, allocations: 30.56 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1055, allocations: 0 / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005327/0.106, allocations: 149.2 kB / 486.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1061, allocations: 85.09 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1062, allocations: 148.5 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1063, allocations: 25.7 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.1063, allocations: 92.14 kB / 486.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.1063, allocations: 15.7 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.1064, allocations: 17.72 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.1065, allocations: 326.8 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.1065, allocations: 19.98 kB / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.1066, allocations: 33.7 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1067, allocations: 44.77 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1067, allocations: 4 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001667/0.1069, allocations: 73.92 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1069, allocations: 12.03 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1069, allocations: 0 / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.107, allocations: 4 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.107, allocations: 11.98 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.107, allocations: 0 / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.1071, allocations: 4 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1071, allocations: 11.92 kB / 487 MB, free: 14.8 MB / 366.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 (5): * Single equations (assignments): 5 * 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 7.759e-05/0.1072, allocations: 117.8 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1072, allocations: 11.91 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1075, allocations: 81.97 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1075, allocations: 4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1075, allocations: 3.938 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1075, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.1079, allocations: 362.3 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1079, allocations: 0 / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.108, allocations: 12 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.108, allocations: 0 / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.108, allocations: 4 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.108, allocations: 7.922 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.108, allocations: 0 / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1082, allocations: 175.4 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.1083, allocations: 77.11 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1083, allocations: 11.98 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.1084, allocations: 3.938 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1084, allocations: 8 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1084, allocations: 192 / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.1085, allocations: 117.4 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1085, allocations: 0 / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1088, allocations: 35.98 kB / 488 MB, free: 13.68 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001025/0.1098, allocations: 495.9 kB / 488.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.11, allocations: 51.95 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.11, allocations: 0 / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.1101, allocations: 27.92 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1105, allocations: 22.22 kB / 488.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.1108, allocations: 161.4 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.1111, allocations: 0.6924 MB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.1111, allocations: 19.95 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.1112, allocations: 19.44 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1112, allocations: 0 / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004214/0.1154, allocations: 1.743 MB / 491.2 MB, free: 10.58 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches