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.001114/0.001114, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 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.2326/0.2326, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 481.3 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4298, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00418/0.434, allocations: 1.664 MB / 0.5326 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.4355, allocations: 0.5907 MB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.4357, allocations: 1.562 kB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.4365, allocations: 456.3 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006525/0.4372, allocations: 288.8 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.4378, allocations: 177.9 kB / 0.5341 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.4382, allocations: 182.3 kB / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4383, allocations: 23.75 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.4385, allocations: 110.7 kB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.4389, allocations: 216.5 kB / 0.5346 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.4389, allocations: 3.094 kB / 0.5346 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.4391, allocations: 56.25 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.4392, allocations: 83.94 kB / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.4393, allocations: 111.8 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.4398, allocations: 271.5 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4399, allocations: 1.062 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4399, allocations: 0 / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.4399, allocations: 0 / 0.5351 GB, free: 10.82 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.001174/0.4411, allocations: 0.6574 MB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.4411, allocations: 9.125 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.4413, allocations: 48.31 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.4416, allocations: 302.9 kB / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4417, allocations: 1.812 kB / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.4417, allocations: 4.344 kB / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.4419, allocations: 73.44 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.4419, allocations: 1.188 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.442, allocations: 0 / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.442, allocations: 1.219 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.4421, allocations: 26.58 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.4428, allocations: 412.4 kB / 0.5366 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4429, allocations: 45 kB / 0.5366 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.443, allocations: 20.56 kB / 0.5367 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.443, allocations: 1.5 kB / 0.5367 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.443, allocations: 35.94 kB / 0.5367 GB, free: 9.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.443, allocations: 0 / 0.5367 GB, free: 9.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001079/0.4441, allocations: 323.3 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4442, allocations: 60.38 kB / 0.5371 GB, free: 9.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4452, allocations: 0.8744 MB / 0.5379 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4453, allocations: 27.33 kB / 0.5379 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.4454, allocations: 225.7 kB / 0.5382 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.4455, allocations: 26.62 kB / 0.5382 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.4456, allocations: 23.8 kB / 0.5382 GB, free: 8.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4457, allocations: 360.5 kB / 0.5386 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/0.4458, allocations: 33.09 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.4459, allocations: 36.81 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.4461, allocations: 70.45 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4461, allocations: 1.469 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002858/0.4464, allocations: 138.5 kB / 0.5388 GB, free: 7.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4464, allocations: 9.75 kB / 0.5388 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4465, allocations: 0 / 0.5388 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4465, allocations: 13.27 kB / 0.5388 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.4466, allocations: 17.75 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.4466, allocations: 3.938 kB / 0.5389 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.4467, allocations: 12.45 kB / 0.5389 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.4467, allocations: 1.375 kB / 0.5389 GB, free: 7.863 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.0002311/0.447, allocations: 215.3 kB / 0.5391 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.447, allocations: 43.31 kB / 0.5391 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.4474, allocations: 186.6 kB / 0.5393 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4474, allocations: 1.25 kB / 0.5393 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4474, allocations: 3.938 kB / 0.5393 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4475, allocations: 1.219 kB / 0.5393 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.4482, allocations: 0.5115 MB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4482, allocations: 5.031 kB / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.4483, allocations: 17.8 kB / 0.5398 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4483, allocations: 5.281 kB / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4483, allocations: 1.125 kB / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4483, allocations: 1.156 kB / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4484, allocations: 3.984 kB / 0.5398 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.4487, allocations: 248 kB / 0.5401 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.4488, allocations: 118 kB / 0.5402 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.4489, allocations: 1.156 kB / 0.5402 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.449, allocations: 15.36 kB / 0.5402 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.449, allocations: 4.594 kB / 0.5402 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.449, allocations: 2.281 kB / 0.5402 GB, free: 6.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007753/0.4498, allocations: 0.6584 MB / 0.5409 GB, free: 6.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4498, allocations: 0 / 0.5409 GB, free: 6.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.4502, allocations: 30.84 kB / 0.5409 GB, free: 6.441 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.001192/0.4514, allocations: 453 kB / 0.5413 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.4517, allocations: 80.47 kB / 0.5414 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4517, allocations: 4.938 kB / 0.5414 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.991e-05/0.4518, allocations: 40.36 kB / 0.5414 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.4522, allocations: 40.12 kB / 0.5415 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4537, allocations: 0.824 MB / 0.5423 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.4542, allocations: 0.8297 MB / 0.5431 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.4543, allocations: 25.03 kB / 0.5431 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.4544, allocations: 14.19 kB / 0.5431 GB, free: 4.906 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4544, allocations: 0 / 0.5431 GB, free: 4.906 MB / 398.1 MB Notification: Performance of Templates: time 0.00575/0.4601, allocations: 1.775 MB / 0.5449 GB, free: 3.266 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