Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007667/0.0007667, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000952/0.0009522, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 247.5 MB, free: 11.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.18 MB / 345.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09654, allocations: 63.56 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001733/0.0983, allocations: 1.31 MB / 485 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.09921, allocations: 0.5146 MB / 485.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.09927, allocations: 0 / 485.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.09945, allocations: 23.91 kB / 485.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.09966, allocations: 59.77 kB / 485.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.0999, allocations: 83.78 kB / 485.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1, allocations: 59.91 kB / 485.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.1001, allocations: 11.92 kB / 485.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.1002, allocations: 23.86 kB / 485.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.1002, allocations: 23.86 kB / 485.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1003, allocations: 0 / 485.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.1003, allocations: 31.92 kB / 485.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.1004, allocations: 4 kB / 485.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.1004, allocations: 49.5 kB / 485.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.1005, allocations: 63.91 kB / 486 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1006, allocations: 0 / 486 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1006, allocations: 0 / 486 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1006, allocations: 0 / 486 MB, free: 1.902 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.000377/0.101, allocations: 383.4 kB / 486.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.101, allocations: 8.875 kB / 486.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.101, allocations: 8.844 kB / 486.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1012, allocations: 188.2 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1012, allocations: 4.375 kB / 486.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1012, allocations: 4.375 kB / 486.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1014, allocations: 53.8 kB / 486.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1014, allocations: 0 / 486.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1014, allocations: 4 kB / 486.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1014, allocations: 0 / 486.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.058e-05/0.1015, allocations: 31.92 kB / 486.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.1018, allocations: 272.9 kB / 486.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.102, allocations: 42.56 kB / 487 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.1021, allocations: 16.94 kB / 487 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1021, allocations: 4 kB / 487 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1021, allocations: 42.5 kB / 487 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1022, allocations: 0 / 487 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005401/0.1027, allocations: 165.4 kB / 487.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.1027, allocations: 51.41 kB / 487.2 MB, free: 480 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1029, allocations: 148.4 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1029, allocations: 29.7 kB / 487.4 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.103, allocations: 92.12 kB / 487.5 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.103, allocations: 19.72 kB / 487.5 MB, free: 168 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.103, allocations: 9.719 kB / 487.5 MB, free: 152 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1031, allocations: 330.8 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.1032, allocations: 19.98 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.1033, allocations: 19.98 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1034, allocations: 60.83 kB / 487.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1034, allocations: 0 / 487.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001817/0.1036, allocations: 85.7 kB / 488 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1036, allocations: 10.19 kB / 488 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1037, allocations: 8 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1037, allocations: 8.031 kB / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.1037, allocations: 15.98 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1038, allocations: 0 / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1038, allocations: 15.92 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.1038, allocations: 4 kB / 488.1 MB, free: 15.57 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.681e-05/0.1039, allocations: 117.8 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1039, allocations: 7.906 kB / 488.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.1042, allocations: 101.8 kB / 488.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1042, allocations: 4 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1042, allocations: 0 / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1042, allocations: 0 / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.1046, allocations: 358.5 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1046, allocations: 0 / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.1047, allocations: 15.98 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1047, allocations: 0 / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1047, allocations: 0 / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1047, allocations: 7.875 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1047, allocations: 0 / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1049, allocations: 183.4 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.105, allocations: 93 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.105, allocations: 0 / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.1051, allocations: 11.94 kB / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.1051, allocations: 8.172 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.1051, allocations: 4 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.264e-05/0.1052, allocations: 122.2 kB / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1052, allocations: 0 / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1055, allocations: 16 kB / 489.1 MB, free: 14.43 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.0008949/0.1064, allocations: 395.6 kB / 489.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1066, allocations: 59.91 kB / 489.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1066, allocations: 0 / 489.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.1067, allocations: 27.98 kB / 489.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.107, allocations: 19.97 kB / 489.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.1074, allocations: 227 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1076, allocations: 0.6965 MB / 490.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.1077, allocations: 15.38 kB / 490.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1077, allocations: 0 / 490.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.002854/0.1105, allocations: 1.409 MB / 492 MB, free: 11.67 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches