Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 76.09 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.414, allocations: 62.43 MB / 0.531 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003306/0.4174, allocations: 1.674 MB / 0.5327 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.4185, allocations: 0.5831 MB / 0.5332 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.4186, allocations: 3.938 kB / 0.5332 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006176/0.4192, allocations: 449.3 kB / 0.5337 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006641/0.4199, allocations: 297.2 kB / 0.5339 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.4204, allocations: 177.2 kB / 0.5341 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.4208, allocations: 179.3 kB / 0.5343 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.4209, allocations: 23.55 kB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.421, allocations: 114.9 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.4213, allocations: 207.3 kB / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.4213, allocations: 3.719 kB / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.4214, allocations: 56.84 kB / 0.5347 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4216, allocations: 86.88 kB / 0.5348 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.4217, allocations: 111.8 kB / 0.5349 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.422, allocations: 277.4 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.422, allocations: 0 / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.422, allocations: 0 / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.4221, allocations: 0 / 0.5351 GB, free: 11.09 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.0007417/0.4228, allocations: 0.6637 MB / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4228, allocations: 9.219 kB / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.4229, allocations: 48.08 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.4232, allocations: 307.6 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4233, allocations: 10.5 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.4233, allocations: 6.578 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.4235, allocations: 66.02 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4235, allocations: 1.156 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4235, allocations: 4 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4235, allocations: 5.141 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.4237, allocations: 31.14 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.4242, allocations: 409.3 kB / 0.5366 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4244, allocations: 47.81 kB / 0.5367 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.4244, allocations: 25.44 kB / 0.5367 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4245, allocations: 1 kB / 0.5367 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.4245, allocations: 31.34 kB / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4245, allocations: 0 / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009977/0.4255, allocations: 328.7 kB / 0.537 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.4256, allocations: 56.59 kB / 0.5371 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.4267, allocations: 0.8666 MB / 0.5379 GB, free: 8.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.4267, allocations: 31.3 kB / 0.538 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.427, allocations: 232.6 kB / 0.5382 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.427, allocations: 19.83 kB / 0.5382 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.4271, allocations: 23.61 kB / 0.5382 GB, free: 8.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.4273, allocations: 364.4 kB / 0.5386 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4274, allocations: 32.78 kB / 0.5386 GB, free: 8.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.4275, allocations: 33.42 kB / 0.5386 GB, free: 8.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.4277, allocations: 79.38 kB / 0.5387 GB, free: 8.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4277, allocations: 0 / 0.5387 GB, free: 8.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003087/0.4281, allocations: 151.6 kB / 0.5389 GB, free: 8.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4281, allocations: 5.75 kB / 0.5389 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4281, allocations: 0 / 0.5389 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.4281, allocations: 0 / 0.5389 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4283, allocations: 22.05 kB / 0.5389 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4283, allocations: 5.406 kB / 0.5389 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.4283, allocations: 14.8 kB / 0.5389 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.4284, allocations: 2.812 kB / 0.5389 GB, free: 8.098 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 (8): * Single equations (assignments): 8 * 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.0002209/0.4286, allocations: 215 kB / 0.5391 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.4287, allocations: 43.03 kB / 0.5392 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.429, allocations: 178.8 kB / 0.5393 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4291, allocations: 1.125 kB / 0.5393 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4291, allocations: 7.938 kB / 0.5393 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4291, allocations: 1.219 kB / 0.5393 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007247/0.4298, allocations: 0.5112 MB / 0.5398 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4298, allocations: 3.938 kB / 0.5398 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.4299, allocations: 21.98 kB / 0.5399 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4299, allocations: 5.391 kB / 0.5399 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4299, allocations: 6.094 kB / 0.5399 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.43, allocations: 4.875 kB / 0.5399 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.43, allocations: 4.812 kB / 0.5399 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.4303, allocations: 243 kB / 0.5401 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.4304, allocations: 123.9 kB / 0.5402 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.4304, allocations: 1.25 kB / 0.5402 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.4305, allocations: 11.23 kB / 0.5402 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.4305, allocations: 11.25 kB / 0.5403 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4306, allocations: 2.281 kB / 0.5403 GB, free: 6.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.4313, allocations: 0.6582 MB / 0.5409 GB, free: 6.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4313, allocations: 0 / 0.5409 GB, free: 6.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.4316, allocations: 23.28 kB / 0.5409 GB, free: 6.672 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001052/0.4326, allocations: 458.6 kB / 0.5414 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.4329, allocations: 84.8 kB / 0.5414 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4329, allocations: 0 / 0.5414 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.433, allocations: 41.3 kB / 0.5415 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.4335, allocations: 36.88 kB / 0.5415 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4348, allocations: 0.8332 MB / 0.5423 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.4353, allocations: 0.8293 MB / 0.5431 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.093e-05/0.4354, allocations: 26.41 kB / 0.5432 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.4354, allocations: 18 kB / 0.5432 GB, free: 5.117 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4354, allocations: 0 / 0.5432 GB, free: 5.117 MB / 398.1 MB Notification: Performance of Templates: time 0.005489/0.4409, allocations: 1.763 MB / 0.5449 GB, free: 3.453 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches