Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 121.7 kB / 17.79 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.001602/0.001602, allocations: 199.8 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.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4028, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004129/0.407, allocations: 1.605 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.4083, allocations: 0.5521 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.4084, allocations: 1.375 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.4087, allocations: 27.97 kB / 0.5331 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.409, allocations: 80.38 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.4094, allocations: 94.31 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.4096, allocations: 65.39 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.4097, allocations: 10.75 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.4098, allocations: 39.09 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.4099, allocations: 29.58 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.4099, allocations: 3.656 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.4101, allocations: 102.3 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.4102, allocations: 19.19 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.4103, allocations: 29.38 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.4106, allocations: 151 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4106, allocations: 0 / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4106, allocations: 0 / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4106, allocations: 1.094 kB / 0.5337 GB, free: 11.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005151/0.4112, allocations: 411.9 kB / 0.5341 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4112, allocations: 10.31 kB / 0.5341 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.4113, allocations: 7.656 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.4115, allocations: 198.8 kB / 0.5343 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4115, allocations: 1.719 kB / 0.5343 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4115, allocations: 5.75 kB / 0.5343 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.4117, allocations: 66.41 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4117, allocations: 7.906 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4117, allocations: 1.062 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4118, allocations: 4.922 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4119, allocations: 23.45 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.4123, allocations: 307.1 kB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.4124, allocations: 59.08 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.4125, allocations: 28.5 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.4126, allocations: 1.188 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.4126, allocations: 35.59 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4126, allocations: 1.094 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006782/0.4133, allocations: 185.8 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.4133, allocations: 82.48 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.4135, allocations: 161.2 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4135, allocations: 29.7 kB / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.4136, allocations: 96.25 kB / 0.5354 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.4136, allocations: 26.31 kB / 0.5354 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.4137, allocations: 24.58 kB / 0.5354 GB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4138, allocations: 321.5 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.4139, allocations: 33.84 kB / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.414, allocations: 46.31 kB / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4142, allocations: 69.95 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4142, allocations: 1.375 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002474/0.4144, allocations: 111.1 kB / 0.536 GB, free: 9.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4145, allocations: 4.812 kB / 0.536 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4145, allocations: 5.562 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4145, allocations: 3.984 kB / 0.536 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4146, allocations: 19.19 kB / 0.536 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4146, allocations: 5.203 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.4147, allocations: 3.375 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4147, allocations: 6.188 kB / 0.536 GB, free: 9.355 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 (9): * Single equations (assignments): 9 * 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.000102/0.4148, allocations: 118.9 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.4149, allocations: 16.16 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.4152, allocations: 118.4 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4152, allocations: 1.094 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4152, allocations: 0 / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4152, allocations: 7.875 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.4158, allocations: 399.7 kB / 0.5367 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4158, allocations: 1.312 kB / 0.5367 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.4159, allocations: 20.88 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4159, allocations: 5.234 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4159, allocations: 3.938 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4159, allocations: 1.906 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4159, allocations: 0 / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.4162, allocations: 203.5 kB / 0.5369 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.4163, allocations: 87.42 kB / 0.537 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.4164, allocations: 8.906 kB / 0.537 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.4164, allocations: 7.922 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.4165, allocations: 6.906 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.4165, allocations: 1.969 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.4166, allocations: 128.3 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4166, allocations: 0 / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.417, allocations: 47.23 kB / 0.5372 GB, free: 8.324 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 (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.001449/0.4184, allocations: 498.5 kB / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.4187, allocations: 68.39 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4188, allocations: 0.875 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.4189, allocations: 38.2 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.4193, allocations: 19.36 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.4198, allocations: 196.4 kB / 0.538 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.4201, allocations: 0.692 MB / 0.5386 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.4202, allocations: 20.72 kB / 0.5387 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.4202, allocations: 19.45 kB / 0.5387 GB, free: 7.133 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4202, allocations: 0 / 0.5387 GB, free: 7.133 MB / 398.1 MB Notification: Performance of Templates: time 0.005216/0.4254, allocations: 1.989 MB / 0.5406 GB, free: 6.094 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches