Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, 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.001094/0.001095, allocations: 207.8 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.403/1.403, 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.213/0.213, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 76.09 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3955, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003345/0.3989, allocations: 1.66 MB / 0.5326 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.3999, allocations: 0.5414 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.4, allocations: 1.375 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.4003, allocations: 102.3 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.4006, allocations: 106.2 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.4009, allocations: 96.56 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.4011, allocations: 98.38 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.4012, allocations: 28.34 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.4013, allocations: 41.72 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4014, allocations: 62.06 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.4014, allocations: 4.125 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.4016, allocations: 50.94 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.4016, allocations: 21.36 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.4017, allocations: 43.61 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.402, allocations: 130.1 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.402, allocations: 1.062 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.402, allocations: 4 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.402, allocations: 0 / 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005663/0.4026, allocations: 432.6 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4026, allocations: 9.188 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.4027, allocations: 14.38 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.4029, allocations: 213.8 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4029, allocations: 3.531 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.403, allocations: 6.969 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4031, allocations: 82.38 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4032, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4032, allocations: 5 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4032, allocations: 1.094 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4033, allocations: 39.47 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.4037, allocations: 327.2 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.4039, allocations: 66.17 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.4039, allocations: 28.22 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.404, allocations: 1.031 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.404, allocations: 31.69 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/0.404, allocations: 0 / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001026/0.405, allocations: 313.5 kB / 0.5354 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.4051, allocations: 56.78 kB / 0.5355 GB, free: 9.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.4053, allocations: 233.7 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.4054, allocations: 30.95 kB / 0.5357 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.4054, allocations: 114.6 kB / 0.5358 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.4055, allocations: 40.67 kB / 0.5359 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.4055, allocations: 33.81 kB / 0.5359 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4057, allocations: 331.9 kB / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.4058, allocations: 35.8 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.418e-05/0.4059, allocations: 44.44 kB / 0.5363 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.406, allocations: 89.73 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4061, allocations: 0 / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002572/0.4063, allocations: 138.5 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4063, allocations: 5.406 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4064, allocations: 1.125 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4064, allocations: 3.938 kB / 0.5365 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.4065, allocations: 25.45 kB / 0.5366 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4065, allocations: 1.094 kB / 0.5366 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.4066, allocations: 15.12 kB / 0.5366 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.4066, allocations: 3.219 kB / 0.5366 GB, free: 9.09 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 (13): * Single equations (assignments): 13 * 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.0001062/0.4067, allocations: 138.8 kB / 0.5367 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.4068, allocations: 14.34 kB / 0.5367 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.4071, allocations: 160.6 kB / 0.5369 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4071, allocations: 5.875 kB / 0.5369 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4072, allocations: 0 / 0.5369 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4072, allocations: 1.094 kB / 0.5369 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.4078, allocations: 493.6 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4078, allocations: 1.062 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.4079, allocations: 24.11 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4079, allocations: 1.188 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4079, allocations: 6.25 kB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4079, allocations: 1.094 kB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4079, allocations: 1.219 kB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.4082, allocations: 246.2 kB / 0.5376 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.4083, allocations: 88.73 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.4083, allocations: 1.469 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.4084, allocations: 7.688 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.4085, allocations: 13.17 kB / 0.5377 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.4085, allocations: 4.406 kB / 0.5377 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.4086, allocations: 186.6 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4086, allocations: 0 / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.4089, allocations: 25.81 kB / 0.5379 GB, free: 7.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009974/0.4099, allocations: 456 kB / 0.5384 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.4102, allocations: 92.86 kB / 0.5385 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4102, allocations: 1.156 kB / 0.5385 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4103, allocations: 59.41 kB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.4106, allocations: 22.95 kB / 0.5385 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.4112, allocations: 319.5 kB / 0.5388 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.4114, allocations: 0.7132 MB / 0.5395 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.157e-05/0.4115, allocations: 19.31 kB / 0.5396 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.4115, allocations: 24.56 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.625e-06/0.4116, allocations: 0 / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of Templates: time 0.004325/0.4159, allocations: 1.546 MB / 0.5411 GB, free: 5.902 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches