Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 80.08 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.395, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003388/0.3984, allocations: 1.692 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3996, allocations: 0.5752 MB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.3996, allocations: 1.25 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.3999, allocations: 51.14 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.4003, allocations: 106.3 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.4008, allocations: 180.7 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.401, allocations: 94.3 kB / 0.5343 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4012, allocations: 19.98 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.4012, allocations: 39.16 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.4014, allocations: 50.16 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.4014, allocations: 3.469 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.4015, allocations: 48.7 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.4016, allocations: 29.5 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.4017, allocations: 34.53 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.402, allocations: 124.1 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.402, allocations: 0 / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.402, allocations: 0 / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.402, allocations: 1.156 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005501/0.4025, allocations: 412.7 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4026, allocations: 9.281 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.4027, allocations: 18.09 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.4029, allocations: 204.5 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4029, allocations: 5.781 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.4029, allocations: 2.812 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.4031, allocations: 73.38 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4031, allocations: 1.375 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4032, allocations: 3.938 kB / 0.5353 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4032, allocations: 9.297 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.4033, allocations: 44.66 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.4038, allocations: 320.6 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.4041, allocations: 64.7 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.4042, allocations: 29.33 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.4042, allocations: 1.375 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4043, allocations: 35.94 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4043, allocations: 0 / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001525/0.4058, allocations: 422.3 kB / 0.5362 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.4059, allocations: 56.38 kB / 0.5363 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.4061, allocations: 200.2 kB / 0.5365 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.4061, allocations: 34.98 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.4062, allocations: 101.2 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.4063, allocations: 40.22 kB / 0.5366 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.4063, allocations: 29.77 kB / 0.5367 GB, free: 9.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4065, allocations: 322.5 kB / 0.537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.4067, allocations: 52.55 kB / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4068, allocations: 61.47 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.4071, allocations: 119.2 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4071, allocations: 1.094 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003363/0.4074, allocations: 164 kB / 0.5374 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4075, allocations: 9.125 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4075, allocations: 0.7812 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4075, allocations: 0.9375 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.4076, allocations: 39.81 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4077, allocations: 5 kB / 0.5374 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.4077, allocations: 6.406 kB / 0.5374 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4077, allocations: 6.141 kB / 0.5374 GB, free: 9.016 MB / 398.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 (11): * Single equations (assignments): 11 * 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 0.0001051/0.4078, allocations: 125.6 kB / 0.5375 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.4079, allocations: 13.78 kB / 0.5376 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.4083, allocations: 194.8 kB / 0.5377 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.4083, allocations: 6.25 kB / 0.5377 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4083, allocations: 0 / 0.5377 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4084, allocations: 0 / 0.5377 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.4091, allocations: 0.5053 MB / 0.5382 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4091, allocations: 1.469 kB / 0.5382 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4092, allocations: 28.95 kB / 0.5383 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4092, allocations: 1.312 kB / 0.5383 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4092, allocations: 1.25 kB / 0.5383 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.4092, allocations: 1.188 kB / 0.5383 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4092, allocations: 9.594 kB / 0.5383 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.4096, allocations: 272.5 kB / 0.5385 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.4097, allocations: 92.81 kB / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.4097, allocations: 9.344 kB / 0.5386 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.4098, allocations: 18.64 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.4098, allocations: 5.219 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4098, allocations: 3.062 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.41, allocations: 151.2 kB / 0.5388 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.41, allocations: 1.031 kB / 0.5388 GB, free: 7.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.4103, allocations: 26.05 kB / 0.5388 GB, free: 7.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001096/0.4114, allocations: 458.1 kB / 0.5393 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.4118, allocations: 127.6 kB / 0.5394 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4118, allocations: 1.188 kB / 0.5394 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.4119, allocations: 66.83 kB / 0.5395 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.4123, allocations: 27.23 kB / 0.5395 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006717/0.413, allocations: 341.8 kB / 0.5398 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.4133, allocations: 0.7153 MB / 0.5405 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.4134, allocations: 15.34 kB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4134, allocations: 1.281 kB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of Templates: time 0.00444/0.4179, allocations: 2.096 MB / 0.5426 GB, free: 5.426 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches