Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001646/0.001646, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002201/0.002201, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 76.09 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.465, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003423/0.4685, allocations: 1.671 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.4696, allocations: 0.5491 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.4697, allocations: 1.375 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.47, allocations: 74.02 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.4704, allocations: 106.1 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.4709, allocations: 133.6 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.4711, allocations: 90.17 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.4712, allocations: 17.73 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.4713, allocations: 43.8 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.4715, allocations: 49.73 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.4715, allocations: 4.406 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.4716, allocations: 61.19 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.4717, allocations: 24.5 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.4718, allocations: 30.59 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.472, allocations: 120.1 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4721, allocations: 0 / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4721, allocations: 0 / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.4721, allocations: 5.375 kB / 0.5339 GB, free: 11.41 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.0006291/0.4727, allocations: 428.6 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4728, allocations: 10 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.4728, allocations: 10.69 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.4731, allocations: 203 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4731, allocations: 14.5 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.4731, allocations: 7.922 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.4733, allocations: 62.98 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4734, allocations: 4 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4734, allocations: 5.125 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4734, allocations: 1 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.4736, allocations: 38.5 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.474, allocations: 307.8 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.4743, allocations: 58.62 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.4744, allocations: 24.78 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.4744, allocations: 9.188 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4745, allocations: 39.72 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4745, allocations: 0 / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001522/0.476, allocations: 389.5 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.4761, allocations: 64.55 kB / 0.5355 GB, free: 9.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.4763, allocations: 214.5 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4764, allocations: 25.7 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.4764, allocations: 106.7 kB / 0.5359 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.4765, allocations: 35.52 kB / 0.5359 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.4765, allocations: 24.53 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4767, allocations: 327.4 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.4768, allocations: 42.66 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.477, allocations: 48.7 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.4772, allocations: 96.03 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4772, allocations: 0 / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003267/0.4776, allocations: 143.2 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4776, allocations: 9.422 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4776, allocations: 3.938 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4776, allocations: 1.312 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.4778, allocations: 28.08 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4778, allocations: 4 kB / 0.5366 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.4779, allocations: 14.48 kB / 0.5366 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4779, allocations: 2.438 kB / 0.5366 GB, free: 9.102 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.0001306/0.478, allocations: 129.1 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.4781, allocations: 9.844 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.4785, allocations: 168.3 kB / 0.5369 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4785, allocations: 8.969 kB / 0.5369 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4785, allocations: 1.125 kB / 0.5369 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4785, allocations: 0 / 0.5369 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.4793, allocations: 485.2 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4793, allocations: 8.812 kB / 0.5374 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.4794, allocations: 24.05 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4794, allocations: 2.312 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4794, allocations: 1.156 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.4794, allocations: 6.109 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4794, allocations: 1.125 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.4799, allocations: 255.6 kB / 0.5376 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4799, allocations: 92.75 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.48, allocations: 0.9375 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4801, allocations: 14.77 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.4801, allocations: 4 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.4801, allocations: 4.219 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.4803, allocations: 170.5 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4803, allocations: 0 / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000273/0.4806, allocations: 22.19 kB / 0.5379 GB, free: 7.957 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.001152/0.4818, allocations: 469 kB / 0.5384 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.4821, allocations: 101.4 kB / 0.5385 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4821, allocations: 5.312 kB / 0.5385 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.4823, allocations: 58.25 kB / 0.5385 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.4827, allocations: 34.89 kB / 0.5386 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.4834, allocations: 300.7 kB / 0.5389 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4837, allocations: 0.7111 MB / 0.5396 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.4838, allocations: 24.98 kB / 0.5396 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.4839, allocations: 18.88 kB / 0.5396 GB, free: 6.664 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4839, allocations: 3.938 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of Templates: time 0.005013/0.4889, allocations: 1.576 MB / 0.5411 GB, free: 5.855 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches