Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 114.2 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.001747/0.001748, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3936, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00344/0.3971, allocations: 1.702 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3984, allocations: 0.5934 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.3985, allocations: 0 / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.3988, allocations: 33.28 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.3991, allocations: 78.98 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.3997, allocations: 185.7 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.3999, allocations: 98.2 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.4, allocations: 22.98 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.4001, allocations: 37.59 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.4002, allocations: 44.14 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.4003, allocations: 6.875 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.4005, allocations: 106.9 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.4006, allocations: 26.8 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.4007, allocations: 40.03 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.401, allocations: 154.3 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.401, allocations: 3.938 kB / 0.5341 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.401, allocations: 1.312 kB / 0.5341 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.401, allocations: 0 / 0.5341 GB, free: 11.32 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.0006942/0.4017, allocations: 451.3 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4018, allocations: 9.5 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.4019, allocations: 17.19 kB / 0.5345 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.4021, allocations: 199.9 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4021, allocations: 9.141 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.4022, allocations: 11.33 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.4025, allocations: 95.27 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4025, allocations: 0 / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4025, allocations: 1.562 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.4025, allocations: 4 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.4028, allocations: 68.33 kB / 0.5349 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.4034, allocations: 342.5 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.4037, allocations: 83.5 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.4038, allocations: 46.34 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.4039, allocations: 5.094 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4039, allocations: 35.62 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.495e-06/0.4039, allocations: 0 / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001657/0.4056, allocations: 416.7 kB / 0.5358 GB, free: 9.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.4057, allocations: 82.3 kB / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4059, allocations: 168.1 kB / 0.536 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4059, allocations: 31.02 kB / 0.536 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.406, allocations: 96.05 kB / 0.5361 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.406, allocations: 31.67 kB / 0.5362 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.4061, allocations: 21.62 kB / 0.5362 GB, free: 9.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4062, allocations: 320.9 kB / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.4065, allocations: 82.59 kB / 0.5366 GB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.4068, allocations: 96.72 kB / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.4074, allocations: 167.7 kB / 0.5368 GB, free: 8.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4074, allocations: 0 / 0.5368 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006713/0.4081, allocations: 213.5 kB / 0.537 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4081, allocations: 5.094 kB / 0.537 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4081, allocations: 96 / 0.537 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4082, allocations: 4.844 kB / 0.537 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.4084, allocations: 50.95 kB / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4084, allocations: 0 / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.4086, allocations: 25.88 kB / 0.5371 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4086, allocations: 2.219 kB / 0.5371 GB, free: 8.758 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 (10): * Single equations (assignments): 10 * 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.0001201/0.4087, allocations: 124.1 kB / 0.5372 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.4088, allocations: 9.328 kB / 0.5372 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.4095, allocations: 222.9 kB / 0.5374 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4095, allocations: 5.969 kB / 0.5374 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4095, allocations: 0 / 0.5374 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4095, allocations: 0 / 0.5374 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4106, allocations: 0.5169 MB / 0.538 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4106, allocations: 0 / 0.538 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.4108, allocations: 40.52 kB / 0.538 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4108, allocations: 0 / 0.538 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4108, allocations: 5.125 kB / 0.538 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4109, allocations: 1 kB / 0.538 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4109, allocations: 7.938 kB / 0.538 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.4116, allocations: 305.3 kB / 0.5383 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.4116, allocations: 84.5 kB / 0.5384 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.4117, allocations: 5.469 kB / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4119, allocations: 21.56 kB / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.4119, allocations: 12.55 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.4119, allocations: 1.312 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.4121, allocations: 121.8 kB / 0.5385 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4121, allocations: 3.938 kB / 0.5385 GB, free: 7.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.4124, allocations: 60.98 kB / 0.5386 GB, free: 7.559 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 (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 Backend phase and start with SimCode phase: time 0.001241/0.4137, allocations: 495.2 kB / 0.5391 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.4144, allocations: 176.7 kB / 0.5392 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4144, allocations: 1.062 kB / 0.5392 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.4147, allocations: 93.78 kB / 0.5393 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.4151, allocations: 38.66 kB / 0.5394 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.4156, allocations: 233.1 kB / 0.5396 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.416, allocations: 0.7102 MB / 0.5403 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.4161, allocations: 25.25 kB / 0.5403 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.4162, allocations: 23.8 kB / 0.5403 GB, free: 6.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4162, allocations: 1.375 kB / 0.5403 GB, free: 6.23 MB / 398.1 MB Notification: Performance of Templates: time 0.006364/0.4225, allocations: 2.567 MB / 0.5428 GB, free: 4.918 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches