Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008911/0.0008911, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.7 MB / 247.5 MB, free: 11.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1962/0.1962, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.0002329, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.0977, allocations: 63.55 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00181/0.09955, allocations: 1.322 MB / 485.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.1005, allocations: 0.5224 MB / 485.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.1006, allocations: 0 / 485.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.1008, allocations: 23.91 kB / 485.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.101, allocations: 59.77 kB / 485.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1013, allocations: 99.75 kB / 485.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1015, allocations: 59.84 kB / 485.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.1016, allocations: 19.98 kB / 485.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.1016, allocations: 19.86 kB / 485.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.1017, allocations: 15.88 kB / 485.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1017, allocations: 4 kB / 485.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.1018, allocations: 31.97 kB / 485.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1018, allocations: 11.98 kB / 485.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1019, allocations: 49.45 kB / 486 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.102, allocations: 63.91 kB / 486 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.102, allocations: 0 / 486 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.102, allocations: 0 / 486 MB, free: 1.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.102, allocations: 4 kB / 486 MB, free: 1.848 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.0004081/0.1024, allocations: 367.5 kB / 486.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1025, allocations: 12.88 kB / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1025, allocations: 8.844 kB / 486.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1027, allocations: 194.8 kB / 486.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1027, allocations: 384 / 486.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1027, allocations: 4.375 kB / 486.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1029, allocations: 65.73 kB / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1029, allocations: 0 / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1029, allocations: 0 / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1029, allocations: 0 / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.589e-05/0.103, allocations: 27.98 kB / 486.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1034, allocations: 284.9 kB / 487 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1036, allocations: 50.5 kB / 487 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.1037, allocations: 16.94 kB / 487 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1037, allocations: 4 kB / 487 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1037, allocations: 34.56 kB / 487.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1037, allocations: 0 / 487.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005741/0.1043, allocations: 173.5 kB / 487.2 MB, free: 476 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1044, allocations: 59.34 kB / 487.3 MB, free: 404 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1045, allocations: 152.4 kB / 487.5 MB, free: 240 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1045, allocations: 25.7 kB / 487.5 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.1046, allocations: 92.14 kB / 487.6 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.1046, allocations: 15.72 kB / 487.6 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.1046, allocations: 17.7 kB / 487.6 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1047, allocations: 318.8 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.1048, allocations: 31.97 kB / 487.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.1049, allocations: 23.98 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1051, allocations: 64.83 kB / 488 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1051, allocations: 0 / 488 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002039/0.1053, allocations: 97.5 kB / 488.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1053, allocations: 4 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1053, allocations: 7.938 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1053, allocations: 0 / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.1054, allocations: 19.98 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1054, allocations: 3.984 kB / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.1055, allocations: 4.25 kB / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1055, allocations: 0 / 488.2 MB, free: 15.49 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.788e-05/0.1056, allocations: 121.8 kB / 488.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.1056, allocations: 11.89 kB / 488.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.1059, allocations: 113.8 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1059, allocations: 0 / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1059, allocations: 0 / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1059, allocations: 4 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.1063, allocations: 366.5 kB / 488.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1064, allocations: 0 / 488.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.1064, allocations: 19.92 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1064, allocations: 0 / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1065, allocations: 0 / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1065, allocations: 3.938 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1065, allocations: 0 / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1067, allocations: 195.4 kB / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.1068, allocations: 89 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1068, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1069, allocations: 11.94 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.1069, allocations: 11.98 kB / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1069, allocations: 0 / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.107, allocations: 117.7 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.107, allocations: 0 / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1073, allocations: 12 kB / 489.2 MB, free: 14.33 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.0008963/0.1082, allocations: 405.3 kB / 489.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1084, allocations: 63.97 kB / 489.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1084, allocations: 0 / 489.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.1085, allocations: 31.97 kB / 489.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1088, allocations: 12 kB / 489.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.1092, allocations: 243 kB / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1095, allocations: 0.6926 MB / 490.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.1095, allocations: 11.44 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1095, allocations: 4 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.002994/0.1125, allocations: 1.444 MB / 492.1 MB, free: 11.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches