Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001164, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, 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.2846/0.2846, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4113, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003375/0.4148, allocations: 1.655 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.4158, allocations: 0.5521 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.4158, allocations: 1.375 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.4164, allocations: 460.9 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.4169, allocations: 288.1 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.4173, allocations: 137.2 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.4176, allocations: 173.4 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.4177, allocations: 20.22 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.4178, allocations: 106.9 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.4181, allocations: 226.5 kB / 0.5345 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4181, allocations: 4.5 kB / 0.5345 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-05/0.4182, allocations: 33.5 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.4184, allocations: 81.62 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.4185, allocations: 103.2 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.4189, allocations: 258.2 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4189, allocations: 1.312 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4189, allocations: 0 / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.4189, allocations: 4 kB / 0.535 GB, free: 10.93 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.000737/0.4196, allocations: 0.6466 MB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4197, allocations: 8.812 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.4198, allocations: 47.12 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.42, allocations: 302 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.4201, allocations: 5.656 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.4201, allocations: 2.5 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4203, allocations: 65.91 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4203, allocations: 4 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4203, allocations: 1.156 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4203, allocations: 1.188 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.4205, allocations: 35.66 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.4209, allocations: 390.6 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4211, allocations: 44.03 kB / 0.5365 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.4211, allocations: 24.25 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4212, allocations: 0 / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4212, allocations: 35.41 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.4212, allocations: 1.219 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008489/0.4221, allocations: 300.2 kB / 0.5368 GB, free: 9.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4221, allocations: 51.41 kB / 0.5369 GB, free: 9.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009022/0.423, allocations: 0.8594 MB / 0.5377 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.423, allocations: 25.7 kB / 0.5377 GB, free: 8.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4232, allocations: 212.3 kB / 0.5379 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.4233, allocations: 26.56 kB / 0.538 GB, free: 8.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.4233, allocations: 22.8 kB / 0.538 GB, free: 8.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.4235, allocations: 364.6 kB / 0.5383 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4236, allocations: 29.7 kB / 0.5384 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.4237, allocations: 39.2 kB / 0.5384 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.424, allocations: 75.5 kB / 0.5385 GB, free: 8.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.424, allocations: 1.406 kB / 0.5385 GB, free: 8.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003277/0.4244, allocations: 151.9 kB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.4244, allocations: 5.906 kB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4244, allocations: 0 / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.4244, allocations: 1.469 kB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4246, allocations: 22.23 kB / 0.5387 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4246, allocations: 0 / 0.5387 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.4247, allocations: 13.95 kB / 0.5387 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4247, allocations: 3.125 kB / 0.5387 GB, free: 8.027 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 (7): * Single equations (assignments): 7 * 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.0002282/0.4249, allocations: 208.8 kB / 0.5389 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.425, allocations: 46.38 kB / 0.5389 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.4254, allocations: 173.8 kB / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4255, allocations: 3.984 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4255, allocations: 1.406 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4255, allocations: 3.938 kB / 0.5391 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.4262, allocations: 495.6 kB / 0.5396 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4262, allocations: 0 / 0.5396 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.4263, allocations: 30.89 kB / 0.5396 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4263, allocations: 0 / 0.5396 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4264, allocations: 5.031 kB / 0.5396 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4264, allocations: 5.25 kB / 0.5396 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4264, allocations: 3.984 kB / 0.5396 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.4267, allocations: 244 kB / 0.5398 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.4268, allocations: 106.8 kB / 0.5399 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.4269, allocations: 9.594 kB / 0.5399 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.427, allocations: 8.984 kB / 0.54 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.427, allocations: 6.578 kB / 0.54 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.4271, allocations: 1.438 kB / 0.54 GB, free: 6.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008171/0.4279, allocations: 0.6522 MB / 0.5406 GB, free: 6.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4279, allocations: 0 / 0.5406 GB, free: 6.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.4282, allocations: 24.59 kB / 0.5406 GB, free: 6.652 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 (7): * Single equations (assignments): 7 * 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.001021/0.4292, allocations: 406.8 kB / 0.541 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.4295, allocations: 75.53 kB / 0.5411 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.4295, allocations: 0 / 0.5411 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4297, allocations: 41.59 kB / 0.5411 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.4301, allocations: 36.02 kB / 0.5412 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.4314, allocations: 0.812 MB / 0.5419 GB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.4318, allocations: 0.8255 MB / 0.5428 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.4319, allocations: 15.08 kB / 0.5428 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.4319, allocations: 17.25 kB / 0.5428 GB, free: 5.156 MB / 398.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4319, allocations: 0 / 0.5428 GB, free: 5.156 MB / 398.1 MB Notification: Performance of Templates: time 0.005111/0.4371, allocations: 1.578 MB / 0.5443 GB, free: 3.84 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches