Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.001721, allocations: 113 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 206.8 kB / 19.4 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001526, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3985, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003268/0.4019, allocations: 1.652 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.4042, allocations: 1.173 MB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.4043, allocations: 1.375 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.4045, allocations: 19.98 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.4049, allocations: 89.73 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.4054, allocations: 133.1 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.4055, allocations: 76.64 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4057, allocations: 16.23 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.688e-05/0.4057, allocations: 38.78 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.4059, allocations: 38.78 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.4059, allocations: 9.484 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.4061, allocations: 92.2 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.4062, allocations: 17.47 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.4062, allocations: 29.3 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.4065, allocations: 151.8 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4065, allocations: 0 / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4065, allocations: 0 / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4066, allocations: 1.375 kB / 0.5351 GB, free: 10.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005871/0.4071, allocations: 409.2 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4072, allocations: 8.906 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.4072, allocations: 9.656 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.4075, allocations: 194.6 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4075, allocations: 1.625 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.4075, allocations: 6.844 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.4077, allocations: 78.08 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4078, allocations: 4 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4078, allocations: 0 / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4078, allocations: 1.062 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4079, allocations: 36.17 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.4083, allocations: 299.2 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.4085, allocations: 43.34 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.4086, allocations: 28.41 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4086, allocations: 4.672 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.4086, allocations: 39.52 kB / 0.5362 GB, free: 9.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.4086, allocations: 0 / 0.5362 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007972/0.4094, allocations: 216.3 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.4095, allocations: 78.3 kB / 0.5365 GB, free: 9.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.4097, allocations: 145.3 kB / 0.5367 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4097, allocations: 25.7 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.4098, allocations: 95.41 kB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4098, allocations: 27.12 kB / 0.5368 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.4099, allocations: 31.3 kB / 0.5368 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.41, allocations: 317.2 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4101, allocations: 30.03 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.4103, allocations: 50.8 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.4105, allocations: 72.66 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4105, allocations: 0 / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002616/0.4108, allocations: 110.7 kB / 0.5374 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4108, allocations: 7.719 kB / 0.5374 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4108, allocations: 0 / 0.5374 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4108, allocations: 5.188 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4109, allocations: 26.11 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.411, allocations: 1.281 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.411, allocations: 14.52 kB / 0.5374 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.411, allocations: 1 kB / 0.5374 GB, free: 8.793 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 (7): * Single equations (assignments): 7 * 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 9.196e-05/0.4111, allocations: 119.2 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.4112, allocations: 7.594 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.4115, allocations: 127.5 kB / 0.5377 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4116, allocations: 5.062 kB / 0.5377 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4116, allocations: 1.25 kB / 0.5377 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4116, allocations: 7.875 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.4121, allocations: 387.7 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4121, allocations: 4 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.792e-05/0.4122, allocations: 23.23 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4122, allocations: 0 / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4122, allocations: 9.172 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4123, allocations: 1.188 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4123, allocations: 4.406 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.4126, allocations: 218.7 kB / 0.5383 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.4126, allocations: 78.58 kB / 0.5384 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.4127, allocations: 5.312 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.4128, allocations: 13.2 kB / 0.5384 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.4128, allocations: 6.859 kB / 0.5384 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.4128, allocations: 2.312 kB / 0.5384 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.226e-05/0.4129, allocations: 113.4 kB / 0.5385 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4129, allocations: 1.219 kB / 0.5385 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.4133, allocations: 46.11 kB / 0.5386 GB, free: 7.773 MB / 398.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 (7): * Single equations (assignments): 7 * 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.001226/0.4145, allocations: 488.1 kB / 0.539 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.4148, allocations: 82.77 kB / 0.5391 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4148, allocations: 0 / 0.5391 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.415, allocations: 42.22 kB / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.4153, allocations: 28.47 kB / 0.5392 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.4159, allocations: 230.9 kB / 0.5394 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.4162, allocations: 0.6902 MB / 0.5401 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.4163, allocations: 24.08 kB / 0.5401 GB, free: 6.547 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4163, allocations: 0 / 0.5401 GB, free: 6.547 MB / 398.1 MB Notification: Performance of Templates: time 0.004661/0.4209, allocations: 2.095 MB / 0.5421 GB, free: 5.457 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches