Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001147, allocations: 198 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.437/1.437, 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.2368/0.2368, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 72.09 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4538, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003667/0.4575, allocations: 1.674 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4586, allocations: 0.5758 MB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.4587, allocations: 0 / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.459, allocations: 79.33 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.4594, allocations: 102.1 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.4599, allocations: 188.5 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.4601, allocations: 95.61 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.4603, allocations: 23.2 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.4603, allocations: 45.45 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4605, allocations: 49.36 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.4605, allocations: 8.594 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.4606, allocations: 57.28 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.4607, allocations: 22.27 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.4608, allocations: 46.17 kB / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.4611, allocations: 117.7 kB / 0.534 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4611, allocations: 1.094 kB / 0.534 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4611, allocations: 0 / 0.534 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.4611, allocations: 0 / 0.534 GB, free: 11.35 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.0006631/0.4618, allocations: 425.3 kB / 0.5344 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.4619, allocations: 12.84 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.4619, allocations: 10.45 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.4622, allocations: 213.4 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.4622, allocations: 9.344 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.4623, allocations: 3.844 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.4625, allocations: 64.86 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4625, allocations: 1.156 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.4626, allocations: 4 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4626, allocations: 1.125 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.4628, allocations: 48.8 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.4634, allocations: 326 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.4638, allocations: 60.89 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.4639, allocations: 34 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.4639, allocations: 5.234 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.464, allocations: 34.56 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.464, allocations: 1.125 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001729/0.4657, allocations: 429.5 kB / 0.5356 GB, free: 9.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.4658, allocations: 57.88 kB / 0.5357 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.4661, allocations: 214.3 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.4661, allocations: 29.7 kB / 0.5359 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.4662, allocations: 103.1 kB / 0.536 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.4663, allocations: 39.97 kB / 0.5361 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.4663, allocations: 21.34 kB / 0.5361 GB, free: 9.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4665, allocations: 327.4 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4667, allocations: 56.27 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.4668, allocations: 57.05 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.4672, allocations: 128.1 kB / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4672, allocations: 1.156 kB / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003771/0.4676, allocations: 168.5 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4676, allocations: 7.219 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4676, allocations: 0 / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4676, allocations: 1.281 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4678, allocations: 32.45 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4678, allocations: 1 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.4678, allocations: 9.453 kB / 0.5368 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.4679, allocations: 10.72 kB / 0.5368 GB, free: 8.965 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.0001693/0.468, allocations: 131.5 kB / 0.537 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.4681, allocations: 13.59 kB / 0.537 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.4686, allocations: 196.4 kB / 0.5372 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.4686, allocations: 9.188 kB / 0.5372 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4686, allocations: 3.938 kB / 0.5372 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4686, allocations: 5.188 kB / 0.5372 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008044/0.4695, allocations: 0.4993 MB / 0.5377 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4695, allocations: 3.984 kB / 0.5377 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.4696, allocations: 32.89 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4696, allocations: 4.875 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4696, allocations: 2.125 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.4696, allocations: 2.031 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4696, allocations: 1.25 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.4701, allocations: 285.8 kB / 0.538 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.4702, allocations: 83.91 kB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.4702, allocations: 5.922 kB / 0.5381 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.4703, allocations: 9.875 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.4703, allocations: 9.672 kB / 0.5381 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4704, allocations: 2.25 kB / 0.5381 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.4705, allocations: 168 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4705, allocations: 0 / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.4708, allocations: 31.08 kB / 0.5383 GB, free: 7.762 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.001315/0.4721, allocations: 458.6 kB / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004003/0.4725, allocations: 132 kB / 0.5388 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4725, allocations: 0 / 0.5388 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.4727, allocations: 71.23 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.4731, allocations: 26.22 kB / 0.5389 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.4739, allocations: 335.2 kB / 0.5393 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4742, allocations: 0.7233 MB / 0.54 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.4744, allocations: 34.2 kB / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.4744, allocations: 14.97 kB / 0.54 GB, free: 6.434 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4744, allocations: 0 / 0.54 GB, free: 6.434 MB / 398.1 MB Notification: Performance of Templates: time 0.005286/0.4797, allocations: 1.645 MB / 0.5416 GB, free: 5.598 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches