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.001416/0.001416, allocations: 117.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 201.2 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.515/1.515, 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.2508/0.2508, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 76.09 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4866, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.005205/0.4919, allocations: 1.647 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.4935, allocations: 0.5459 MB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.4937, allocations: 2.062 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.4942, allocations: 93 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.4948, allocations: 118.2 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.4953, allocations: 92.58 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.4957, allocations: 98.36 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.4958, allocations: 30.97 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.496, allocations: 39.09 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.4962, allocations: 60.69 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.4962, allocations: 5.5 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.4964, allocations: 46.23 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.302e-05/0.4965, allocations: 33.53 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.477e-05/0.4966, allocations: 39.88 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.497, allocations: 134.5 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.497, allocations: 0 / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.497, allocations: 1.375 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.497, allocations: 0 / 0.5339 GB, free: 11.44 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.0008435/0.4979, allocations: 433 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4979, allocations: 9.625 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.498, allocations: 15.72 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.4985, allocations: 218.2 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4985, allocations: 10.03 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.4986, allocations: 4.219 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.4988, allocations: 73.33 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.4988, allocations: 4.859 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4989, allocations: 0 / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4989, allocations: 1.75 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.4991, allocations: 42.48 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.4998, allocations: 336.3 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.5, allocations: 61.64 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.5001, allocations: 23.88 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.5002, allocations: 1.062 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.5002, allocations: 36.48 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.5002, allocations: 0 / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001335/0.5016, allocations: 317.1 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.5016, allocations: 52.38 kB / 0.5355 GB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.5019, allocations: 238.9 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.5019, allocations: 33.64 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.502, allocations: 119.7 kB / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.5021, allocations: 40.34 kB / 0.5359 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.5021, allocations: 31.23 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.5023, allocations: 322.5 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5025, allocations: 36 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/0.5026, allocations: 36.55 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.5028, allocations: 93.17 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5028, allocations: 1.438 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002703/0.5031, allocations: 138.3 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5031, allocations: 5.281 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5031, allocations: 3.984 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.5031, allocations: 5.312 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5033, allocations: 28.95 kB / 0.5366 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5033, allocations: 9.25 kB / 0.5366 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.5033, allocations: 2.656 kB / 0.5366 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.5034, allocations: 4.094 kB / 0.5366 GB, free: 9.109 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.0001353/0.5035, allocations: 135 kB / 0.5367 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.5035, allocations: 18.47 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.5039, allocations: 155.3 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5039, allocations: 5.094 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.5039, allocations: 7.984 kB / 0.5369 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5039, allocations: 0.9062 kB / 0.5369 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/0.5046, allocations: 485.8 kB / 0.5374 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5046, allocations: 1.062 kB / 0.5374 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.5048, allocations: 24.23 kB / 0.5374 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5048, allocations: 1.094 kB / 0.5374 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5048, allocations: 6.328 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5048, allocations: 5.25 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5048, allocations: 1.375 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.5052, allocations: 245.7 kB / 0.5376 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.5053, allocations: 89.52 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.5053, allocations: 9.109 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.5054, allocations: 7.906 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.5054, allocations: 8.891 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5054, allocations: 7.656 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.5056, allocations: 178 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5057, allocations: 0 / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.5059, allocations: 27.06 kB / 0.5379 GB, free: 7.977 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.001217/0.5072, allocations: 458.5 kB / 0.5384 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.5075, allocations: 95.58 kB / 0.5385 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5075, allocations: 0.9062 kB / 0.5385 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.5077, allocations: 60.25 kB / 0.5385 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.5081, allocations: 37.36 kB / 0.5386 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.5089, allocations: 309.2 kB / 0.5389 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.5094, allocations: 0.7174 MB / 0.5396 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.983e-05/0.5095, allocations: 23.88 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.5096, allocations: 15.97 kB / 0.5396 GB, free: 6.695 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5096, allocations: 0 / 0.5396 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Templates: time 0.005681/0.5153, allocations: 1.565 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