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.001206/0.001206, allocations: 117.7 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.001391/0.001391, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, 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.2245/0.2245, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 71.89 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.39, allocations: 62.45 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002934/0.393, allocations: 1.672 MB / 0.5327 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.394, allocations: 0.5768 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.3941, allocations: 1.531 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3944, allocations: 74.67 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.3948, allocations: 104.7 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.3953, allocations: 178.8 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.3955, allocations: 95.95 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3956, allocations: 23.53 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.3957, allocations: 37.06 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3959, allocations: 57.28 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3959, allocations: 8.594 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.396, allocations: 53.08 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.3961, allocations: 30.97 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.3962, allocations: 38.45 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3964, allocations: 116.8 kB / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3965, allocations: 5.375 kB / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3965, allocations: 0 / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3965, allocations: 0 / 0.534 GB, free: 11.37 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.0006051/0.3971, allocations: 426.9 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3971, allocations: 13.62 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3972, allocations: 10.34 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.3974, allocations: 208.4 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.3974, allocations: 5.688 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.3974, allocations: 3.125 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3976, allocations: 73.03 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3977, allocations: 5.312 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3977, allocations: 0 / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3977, allocations: 1.375 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.3978, allocations: 44.72 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.3983, allocations: 325.9 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.3985, allocations: 64.7 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.3986, allocations: 30.72 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3987, allocations: 0 / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3987, allocations: 31.94 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3987, allocations: 0 / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00158/0.4003, allocations: 434.7 kB / 0.5356 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4003, allocations: 60.41 kB / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.4005, allocations: 214.7 kB / 0.5359 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4006, allocations: 26.95 kB / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.4006, allocations: 106 kB / 0.536 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.4007, allocations: 39.78 kB / 0.536 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.4007, allocations: 29.64 kB / 0.5361 GB, free: 9.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4009, allocations: 323.5 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.401, allocations: 56.23 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.4012, allocations: 53.34 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.4015, allocations: 128 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4015, allocations: 1 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003643/0.4019, allocations: 168.3 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4019, allocations: 10.22 kB / 0.5368 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4019, allocations: 0 / 0.5368 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4019, allocations: 0 / 0.5368 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.402, allocations: 32.59 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4021, allocations: 0.9062 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.4021, allocations: 9.5 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.4022, allocations: 11.61 kB / 0.5368 GB, free: 8.988 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.0001012/0.4023, allocations: 127.3 kB / 0.5369 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.4023, allocations: 17.14 kB / 0.537 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.4028, allocations: 192.2 kB / 0.5371 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4028, allocations: 8.969 kB / 0.5372 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4028, allocations: 0 / 0.5372 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4028, allocations: 5.25 kB / 0.5372 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.4036, allocations: 0.4954 MB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4036, allocations: 0 / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.4037, allocations: 25.64 kB / 0.5377 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4037, allocations: 4.062 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4037, allocations: 7.047 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4037, allocations: 1.656 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4037, allocations: 0 / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.4042, allocations: 285.3 kB / 0.538 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.4042, allocations: 88.3 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.4043, allocations: 6.25 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4044, allocations: 10.14 kB / 0.5381 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.4044, allocations: 12.23 kB / 0.5381 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4044, allocations: 8.094 kB / 0.5381 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.4046, allocations: 163.1 kB / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4046, allocations: 0 / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.4049, allocations: 31.81 kB / 0.5383 GB, free: 7.797 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.001041/0.4059, allocations: 461.5 kB / 0.5387 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.4063, allocations: 131.8 kB / 0.5388 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4063, allocations: 1.156 kB / 0.5388 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.4065, allocations: 66.95 kB / 0.5389 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.4069, allocations: 34.11 kB / 0.5389 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.4075, allocations: 322 kB / 0.5392 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4078, allocations: 0.7177 MB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.936e-05/0.4079, allocations: 35.23 kB / 0.54 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.408, allocations: 18.19 kB / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.408, allocations: 0 / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of Templates: time 0.00454/0.4125, allocations: 1.673 MB / 0.5416 GB, free: 5.617 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