Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 113.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4059, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003635/0.4096, allocations: 1.948 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.4116, allocations: 1.08 MB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4118, allocations: 2.75 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.4123, allocations: 261.4 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.4129, allocations: 257.2 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.4146, allocations: 0.6513 MB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.4151, allocations: 323.2 kB / 0.5361 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.4153, allocations: 50.31 kB / 0.5361 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.4155, allocations: 138.9 kB / 0.5362 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.4157, allocations: 200 kB / 0.5364 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.4158, allocations: 8.406 kB / 0.5364 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.4159, allocations: 53.72 kB / 0.5365 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.4161, allocations: 95.94 kB / 0.5366 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.4162, allocations: 106.3 kB / 0.5367 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.4166, allocations: 300.9 kB / 0.537 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4167, allocations: 1.062 kB / 0.537 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4167, allocations: 4 kB / 0.537 GB, free: 9.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4167, allocations: 0 / 0.537 GB, free: 9.824 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008078/0.4175, allocations: 0.6276 MB / 0.5376 GB, free: 9.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.4176, allocations: 9.594 kB / 0.5376 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.4176, allocations: 42.56 kB / 0.5376 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.418, allocations: 326.3 kB / 0.5379 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4181, allocations: 3.438 kB / 0.5379 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.4181, allocations: 8.375 kB / 0.538 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.4183, allocations: 110.5 kB / 0.5381 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4184, allocations: 0 / 0.5381 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4184, allocations: 1.25 kB / 0.5381 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4184, allocations: 1.156 kB / 0.5381 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.4186, allocations: 66.95 kB / 0.5381 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.4193, allocations: 457.7 kB / 0.5386 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.4195, allocations: 78.56 kB / 0.5386 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.4195, allocations: 41.09 kB / 0.5387 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.4196, allocations: 1.188 kB / 0.5387 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4196, allocations: 31.84 kB / 0.5387 GB, free: 8.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4196, allocations: 0 / 0.5387 GB, free: 8.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003969/0.42, allocations: 160 kB / 0.5389 GB, free: 8.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4201, allocations: 56.94 kB / 0.5389 GB, free: 8.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007042/0.4208, allocations: 0.571 MB / 0.5395 GB, free: 7.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4208, allocations: 26.8 kB / 0.5395 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.421, allocations: 205.5 kB / 0.5397 GB, free: 7.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.421, allocations: 9.844 kB / 0.5397 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.4211, allocations: 20.19 kB / 0.5397 GB, free: 7.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4212, allocations: 354.2 kB / 0.5401 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.4213, allocations: 25.64 kB / 0.5401 GB, free: 7.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.4214, allocations: 23.83 kB / 0.5401 GB, free: 7.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4215, allocations: 77.5 kB / 0.5402 GB, free: 7.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4216, allocations: 0 / 0.5402 GB, free: 7.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002237/0.4218, allocations: 121.4 kB / 0.5403 GB, free: 7.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4218, allocations: 4.812 kB / 0.5403 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4218, allocations: 4.984 kB / 0.5403 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.4219, allocations: 0 / 0.5403 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.422, allocations: 14.69 kB / 0.5403 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.422, allocations: 0 / 0.5403 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.422, allocations: 19.12 kB / 0.5403 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4221, allocations: 5.172 kB / 0.5403 GB, free: 7.043 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 (6): * Single equations (assignments): 6 * 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.0001748/0.4222, allocations: 166.7 kB / 0.5405 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.4223, allocations: 39 kB / 0.5405 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.4226, allocations: 153.4 kB / 0.5407 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4226, allocations: 5.469 kB / 0.5407 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.4227, allocations: 4 kB / 0.5407 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4227, allocations: 5.656 kB / 0.5407 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.423, allocations: 298.2 kB / 0.541 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.423, allocations: 0 / 0.541 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.4231, allocations: 18.5 kB / 0.541 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4231, allocations: 0 / 0.541 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4231, allocations: 1.375 kB / 0.541 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4231, allocations: 3.938 kB / 0.541 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4231, allocations: 1.469 kB / 0.541 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.4234, allocations: 228.6 kB / 0.5412 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.4235, allocations: 113.3 kB / 0.5413 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4236, allocations: 0 / 0.5413 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.4237, allocations: 6.031 kB / 0.5413 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.4237, allocations: 2.438 kB / 0.5413 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.4237, allocations: 6.156 kB / 0.5413 GB, free: 6.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005181/0.4242, allocations: 426.8 kB / 0.5418 GB, free: 5.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4242, allocations: 0 / 0.5418 GB, free: 5.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.4246, allocations: 38.05 kB / 0.5418 GB, free: 5.938 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 (6): * Single equations (assignments): 6 * 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.001583/0.4262, allocations: 0.5799 MB / 0.5424 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.4264, allocations: 73.48 kB / 0.5424 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4264, allocations: 0 / 0.5424 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.4265, allocations: 31.73 kB / 0.5425 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.4271, allocations: 76.89 kB / 0.5425 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4283, allocations: 0.6454 MB / 0.5432 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.4288, allocations: 0.7981 MB / 0.5439 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.4289, allocations: 33.61 kB / 0.544 GB, free: 4.402 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4289, allocations: 0 / 0.544 GB, free: 4.402 MB / 398.1 MB Notification: Performance of Templates: time 0.007398/0.4363, allocations: 3.999 MB / 0.5479 GB, free: 1.023 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches