Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.9 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.2344/0.2344, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5083, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003961/0.5124, allocations: 1.685 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.5136, allocations: 0.5461 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.5137, allocations: 1.094 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.5141, allocations: 55.05 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.5144, allocations: 86.48 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.5149, allocations: 138.7 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.5151, allocations: 86.12 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.5153, allocations: 17.84 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.5153, allocations: 37.59 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.5155, allocations: 41.7 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.5155, allocations: 8.125 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.5157, allocations: 48.98 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.5158, allocations: 32.09 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.5158, allocations: 29.25 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.5161, allocations: 105.2 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.5161, allocations: 0 / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5162, allocations: 3.938 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.5162, allocations: 0 / 0.5339 GB, free: 11.45 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.0007922/0.517, allocations: 417 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.517, allocations: 13.62 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.5171, allocations: 9.016 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.5173, allocations: 202.3 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5173, allocations: 7.125 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.5174, allocations: 6.688 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.5176, allocations: 63.53 kB / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5176, allocations: 0 / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5176, allocations: 0 / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.5176, allocations: 1.375 kB / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.5178, allocations: 47.28 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.5182, allocations: 304.2 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.5185, allocations: 59.33 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.5186, allocations: 27.97 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5186, allocations: 5.312 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.5186, allocations: 31.94 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.5186, allocations: 0 / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.5202, allocations: 397 kB / 0.5354 GB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.5202, allocations: 56.78 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.5204, allocations: 174.3 kB / 0.5356 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.5204, allocations: 25.7 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.5205, allocations: 105.7 kB / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.5205, allocations: 35.22 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.5206, allocations: 25.84 kB / 0.5358 GB, free: 9.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5207, allocations: 322.1 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.5208, allocations: 51.53 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.521, allocations: 44.27 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.5212, allocations: 99.83 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5212, allocations: 0 / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003473/0.5216, allocations: 146.7 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5216, allocations: 11.3 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5216, allocations: 3.938 kB / 0.5364 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5216, allocations: 1.312 kB / 0.5364 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.5217, allocations: 27.83 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5218, allocations: 4.938 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.5218, allocations: 14.23 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5218, allocations: 2.5 kB / 0.5365 GB, free: 9.168 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 8.694e-05/0.5219, allocations: 122.6 kB / 0.5366 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.522, allocations: 17.75 kB / 0.5366 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.5224, allocations: 172.2 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5224, allocations: 1.438 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5224, allocations: 1.156 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5224, allocations: 4 kB / 0.5368 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008966/0.5233, allocations: 462.3 kB / 0.5372 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5233, allocations: 1.375 kB / 0.5372 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.5234, allocations: 31.69 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5235, allocations: 1.375 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5235, allocations: 10.59 kB / 0.5373 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5235, allocations: 1.312 kB / 0.5373 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5235, allocations: 1.375 kB / 0.5373 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.5239, allocations: 258.8 kB / 0.5375 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.524, allocations: 92.56 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.524, allocations: 1.438 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.5241, allocations: 9.578 kB / 0.5376 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.5242, allocations: 12.55 kB / 0.5376 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5242, allocations: 4.312 kB / 0.5376 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.5243, allocations: 131.8 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5243, allocations: 0 / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.5246, allocations: 29.28 kB / 0.5378 GB, free: 8.047 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.001117/0.5257, allocations: 463.2 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.5262, allocations: 106.9 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5262, allocations: 0 / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.5264, allocations: 61.89 kB / 0.5384 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.5267, allocations: 20.55 kB / 0.5384 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.5274, allocations: 284.7 kB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.5277, allocations: 0.7035 MB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.5278, allocations: 17.61 kB / 0.5394 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.5279, allocations: 18.78 kB / 0.5394 GB, free: 6.773 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5279, allocations: 192 / 0.5394 GB, free: 6.773 MB / 398.1 MB Notification: Performance of Templates: time 0.00459/0.5325, allocations: 1.559 MB / 0.5409 GB, free: 5.977 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches