Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.402, allocations: 62.43 MB / 0.531 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.004157/0.4062, allocations: 1.685 MB / 0.5327 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.4074, allocations: 0.5757 MB / 0.5332 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.4075, allocations: 0 / 0.5332 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.4078, allocations: 45.89 kB / 0.5333 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.4082, allocations: 90.27 kB / 0.5334 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.409, allocations: 189.3 kB / 0.5335 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.4092, allocations: 83.52 kB / 0.5336 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.4094, allocations: 27.22 kB / 0.5336 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.4094, allocations: 42.95 kB / 0.5337 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.4096, allocations: 40.33 kB / 0.5337 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4096, allocations: 4.125 kB / 0.5337 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.4097, allocations: 48.92 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.4098, allocations: 25.55 kB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.4099, allocations: 33.23 kB / 0.5338 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.4101, allocations: 106.2 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4101, allocations: 7.938 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4101, allocations: 1.375 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4102, allocations: 3.984 kB / 0.5339 GB, free: 11.24 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.0005518/0.4107, allocations: 414.9 kB / 0.5343 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4108, allocations: 9.625 kB / 0.5343 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.4108, allocations: 16.89 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.411, allocations: 198.2 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.4111, allocations: 7.125 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.4111, allocations: 3.125 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.4113, allocations: 69.05 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4113, allocations: 3.984 kB / 0.5346 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4113, allocations: 5.375 kB / 0.5346 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4113, allocations: 1.375 kB / 0.5346 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.4115, allocations: 44.64 kB / 0.5347 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.412, allocations: 323.3 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.4123, allocations: 60.14 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.4123, allocations: 26.25 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4124, allocations: 1.281 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.4124, allocations: 32.25 kB / 0.5351 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 4.448e-06/0.4124, allocations: 4 kB / 0.5351 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001561/0.414, allocations: 416.5 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.414, allocations: 56.47 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.4142, allocations: 187.5 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.4143, allocations: 30.73 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.4143, allocations: 100.6 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.4144, allocations: 36.27 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.4144, allocations: 30.7 kB / 0.5359 GB, free: 9.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4145, allocations: 322.4 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.4147, allocations: 47.38 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.4148, allocations: 53.77 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.4151, allocations: 131.9 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4151, allocations: 1.531 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003499/0.4155, allocations: 162.9 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4155, allocations: 8.5 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4155, allocations: 0 / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4156, allocations: 5.469 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4157, allocations: 35.73 kB / 0.5367 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4157, allocations: 1.156 kB / 0.5367 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.4158, allocations: 17.36 kB / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.4158, allocations: 2.562 kB / 0.5367 GB, free: 8.91 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 (11): * Single equations (assignments): 11 * 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.0001182/0.4159, allocations: 128.3 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.416, allocations: 13.19 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.4164, allocations: 197.5 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.4164, allocations: 6.281 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4165, allocations: 0 / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4165, allocations: 0 / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.4173, allocations: 0.4971 MB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4173, allocations: 0 / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4174, allocations: 28.44 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4174, allocations: 1.406 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4174, allocations: 2.469 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4174, allocations: 1.438 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4174, allocations: 1.25 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.4179, allocations: 284 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.418, allocations: 84.86 kB / 0.5379 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.418, allocations: 1.219 kB / 0.5379 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.4181, allocations: 14.73 kB / 0.5379 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.4182, allocations: 16.39 kB / 0.5379 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.4182, allocations: 3.312 kB / 0.5379 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.4183, allocations: 136.7 kB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4183, allocations: 0 / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.4186, allocations: 31.48 kB / 0.5381 GB, free: 7.742 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00117/0.4198, allocations: 455.9 kB / 0.5385 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.4202, allocations: 128.4 kB / 0.5386 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4202, allocations: 0.9375 kB / 0.5386 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.4204, allocations: 70.69 kB / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.4209, allocations: 28.06 kB / 0.5387 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.4215, allocations: 302.1 kB / 0.539 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.4219, allocations: 0.7188 MB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.997e-05/0.422, allocations: 27 kB / 0.5397 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.422, allocations: 19.02 kB / 0.5398 GB, free: 6.434 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.422, allocations: 0 / 0.5398 GB, free: 6.434 MB / 398.1 MB Notification: Performance of Templates: time 0.004721/0.4268, allocations: 1.653 MB / 0.5414 GB, free: 5.586 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches