Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, 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.2609/0.2609, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4945, allocations: 62.43 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.00334/0.4979, allocations: 1.602 MB / 0.5326 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.499, allocations: 0.5426 MB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.4991, allocations: 5.312 kB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.4994, allocations: 17.36 kB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.4997, allocations: 84.42 kB / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.5001, allocations: 109.2 kB / 0.5333 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.5003, allocations: 67.33 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.5004, allocations: 10.88 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.5005, allocations: 28.09 kB / 0.5334 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.5006, allocations: 26.73 kB / 0.5334 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.5006, allocations: 2.75 kB / 0.5334 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-05/0.5007, allocations: 28.62 kB / 0.5335 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.5008, allocations: 16.05 kB / 0.5335 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.5009, allocations: 25.3 kB / 0.5335 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.5011, allocations: 89.45 kB / 0.5336 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5011, allocations: 3.938 kB / 0.5336 GB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5011, allocations: 1.375 kB / 0.5336 GB, free: 11.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.5011, allocations: 0 / 0.5336 GB, free: 11.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006426/0.5018, allocations: 389 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5018, allocations: 9.625 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.5019, allocations: 9.016 kB / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.5022, allocations: 196.4 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.5022, allocations: 1.75 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.5022, allocations: 7.062 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.5024, allocations: 56.75 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5024, allocations: 0 / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5024, allocations: 0 / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.5025, allocations: 1.375 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.5026, allocations: 29.72 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.5031, allocations: 280.2 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.5033, allocations: 48.36 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.5034, allocations: 20.94 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.5034, allocations: 4 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.5035, allocations: 35.98 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5035, allocations: 0 / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006794/0.5042, allocations: 155 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.5042, allocations: 57.17 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.5045, allocations: 169.2 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.5045, allocations: 31.11 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.5046, allocations: 91.7 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.5046, allocations: 17.84 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.5047, allocations: 17.91 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5048, allocations: 321 kB / 0.5355 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.5049, allocations: 20.95 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.505, allocations: 19.67 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.5051, allocations: 59.36 kB / 0.5356 GB, free: 9.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5051, allocations: 0 / 0.5356 GB, free: 9.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002428/0.5054, allocations: 88.55 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5054, allocations: 4.375 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5054, allocations: 0 / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.5055, allocations: 1.125 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.5055, allocations: 13.33 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5056, allocations: 5.062 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.5056, allocations: 7.375 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.5056, allocations: 1.156 kB / 0.5357 GB, free: 9.832 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 (5): * Single equations (assignments): 5 * 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.0001006/0.5057, allocations: 119.5 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.5058, allocations: 8.172 kB / 0.5358 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.506, allocations: 105.5 kB / 0.5359 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5061, allocations: 7.922 kB / 0.5359 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5061, allocations: 5.188 kB / 0.5359 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.5061, allocations: 3.938 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.5065, allocations: 360.4 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5066, allocations: 1.125 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.5066, allocations: 17.2 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5066, allocations: 1.125 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.5066, allocations: 3.938 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5067, allocations: 1.156 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5067, allocations: 4 kB / 0.5363 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.5069, allocations: 178.9 kB / 0.5364 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.507, allocations: 83.16 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.507, allocations: 4.938 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.5071, allocations: 7.125 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.5071, allocations: 6.453 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.5071, allocations: 5.344 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.5073, allocations: 127.9 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5073, allocations: 0 / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.5075, allocations: 18.14 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001044/0.5086, allocations: 400.1 kB / 0.5371 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.5088, allocations: 50.58 kB / 0.5371 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5088, allocations: 4 kB / 0.5371 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.5089, allocations: 28.89 kB / 0.5371 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.5093, allocations: 22.89 kB / 0.5372 GB, free: 8.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.5098, allocations: 191.2 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.5102, allocations: 0.6971 MB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.727e-05/0.5103, allocations: 23.72 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.5104, allocations: 16.28 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5104, allocations: 0 / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of Templates: time 0.004725/0.5151, allocations: 1.133 MB / 0.5392 GB, free: 7.129 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches