Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001716, allocations: 213.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, 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.2346/0.2346, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 80.09 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4058, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003/0.4089, allocations: 1.624 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.4099, allocations: 0.5377 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.41, allocations: 1.375 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.4103, allocations: 102.6 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.4106, allocations: 121.9 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.4109, allocations: 94.75 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.4111, allocations: 88.55 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4112, allocations: 17.3 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.4113, allocations: 42.67 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.4114, allocations: 64.47 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4114, allocations: 3.312 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.4115, allocations: 44.77 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.4116, allocations: 29.72 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.4116, allocations: 42.48 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.4118, allocations: 120.4 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4119, allocations: 0.875 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4119, allocations: 0 / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4119, allocations: 0 / 0.5345 GB, free: 11.48 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.0005109/0.4124, allocations: 420.9 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4124, allocations: 9.125 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.4125, allocations: 14.7 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4127, allocations: 218.6 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4127, allocations: 2.812 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.4127, allocations: 2.781 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.4129, allocations: 54.22 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4129, allocations: 3.938 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4129, allocations: 1.156 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4129, allocations: 1.094 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.413, allocations: 26.62 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.4134, allocations: 302.4 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.4135, allocations: 45.97 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.4136, allocations: 16.91 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4136, allocations: 0 / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4137, allocations: 35.97 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.4137, allocations: 7.984 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008298/0.4145, allocations: 223.9 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.4146, allocations: 56.77 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.4148, allocations: 258.2 kB / 0.5362 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.4148, allocations: 33.64 kB / 0.5362 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.4149, allocations: 111 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.4149, allocations: 31.67 kB / 0.5363 GB, free: 9.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.415, allocations: 18.84 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4151, allocations: 323.1 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.4152, allocations: 30.05 kB / 0.5367 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.4153, allocations: 26.16 kB / 0.5367 GB, free: 9.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.4154, allocations: 72.77 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4154, allocations: 0 / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.4156, allocations: 104.7 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4157, allocations: 7.906 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4157, allocations: 3.938 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4157, allocations: 1.156 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.4158, allocations: 17.8 kB / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4158, allocations: 5.062 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.4159, allocations: 11.2 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.4159, allocations: 5.25 kB / 0.5369 GB, free: 9.301 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 9.262e-05/0.416, allocations: 131.6 kB / 0.537 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.416, allocations: 14.06 kB / 0.5371 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.4163, allocations: 117.8 kB / 0.5372 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4163, allocations: 1.25 kB / 0.5372 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4163, allocations: 4 kB / 0.5372 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4163, allocations: 5.062 kB / 0.5372 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.4168, allocations: 405.6 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4168, allocations: 0 / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.4169, allocations: 22.42 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4169, allocations: 5.219 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4169, allocations: 1.156 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4169, allocations: 5.125 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4169, allocations: 0 / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.4172, allocations: 201.4 kB / 0.5378 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.4173, allocations: 92.12 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4173, allocations: 5.188 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.4174, allocations: 7.406 kB / 0.5379 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.4174, allocations: 11.45 kB / 0.5379 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.4174, allocations: 2.312 kB / 0.5379 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.4176, allocations: 189.5 kB / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4176, allocations: 0 / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.4178, allocations: 22.06 kB / 0.5381 GB, free: 8.258 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.00104/0.4189, allocations: 459.2 kB / 0.5385 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.4191, allocations: 66.58 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4191, allocations: 0 / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.4192, allocations: 34.44 kB / 0.5386 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4196, allocations: 41.78 kB / 0.5387 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.4202, allocations: 321 kB / 0.539 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4205, allocations: 0.7133 MB / 0.5397 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.4205, allocations: 19.3 kB / 0.5397 GB, free: 6.98 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4205, allocations: 3.938 kB / 0.5397 GB, free: 6.977 MB / 398.1 MB Notification: Performance of Templates: time 0.004302/0.4248, allocations: 1.839 MB / 0.5415 GB, free: 6.023 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches