Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 117.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.001166/0.001166, allocations: 200.6 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.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.252/0.252, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 83.86 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4924, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.00345/0.4959, allocations: 1.653 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.497, allocations: 0.5495 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.4971, allocations: 1.375 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.4974, allocations: 37.39 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.4977, allocations: 81.73 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.498, allocations: 119.3 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.4983, allocations: 87.72 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.4984, allocations: 29.11 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.4985, allocations: 33.97 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.4986, allocations: 40.94 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.4986, allocations: 4.219 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.4987, allocations: 50.55 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.4988, allocations: 27.62 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.4989, allocations: 31.09 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.4991, allocations: 113.1 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4991, allocations: 1.125 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4991, allocations: 0 / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.4992, allocations: 3.938 kB / 0.5338 GB, free: 11.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005834/0.4997, allocations: 411.6 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4998, allocations: 10.42 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.4998, allocations: 18.03 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.5001, allocations: 205 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5001, allocations: 11.44 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.5002, allocations: 4.781 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.5004, allocations: 75.2 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5004, allocations: 1.094 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5004, allocations: 7.938 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.5004, allocations: 6.172 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.5006, allocations: 43.8 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.5011, allocations: 331.5 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.5013, allocations: 63.41 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.5013, allocations: 29.19 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.5014, allocations: 1.125 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.5014, allocations: 39.55 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.5014, allocations: 0 / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.5026, allocations: 328.5 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.5026, allocations: 60.72 kB / 0.5354 GB, free: 10.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.5028, allocations: 171.5 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.5028, allocations: 27.08 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.5029, allocations: 104.2 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.5029, allocations: 37.09 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.503, allocations: 31.05 kB / 0.5357 GB, free: 9.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5032, allocations: 321.4 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.5033, allocations: 44.69 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.821e-05/0.5034, allocations: 50.59 kB / 0.5361 GB, free: 9.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.5036, allocations: 112.1 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5036, allocations: 0 / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003028/0.5039, allocations: 150 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.504, allocations: 16.8 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.504, allocations: 1.344 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.504, allocations: 0 / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.5041, allocations: 29.73 kB / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5042, allocations: 0 / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.5042, allocations: 8.281 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5042, allocations: 3.094 kB / 0.5364 GB, free: 9.18 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.0001051/0.5043, allocations: 125.9 kB / 0.5366 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.5044, allocations: 13.05 kB / 0.5366 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.5048, allocations: 189.5 kB / 0.5367 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5048, allocations: 1.531 kB / 0.5367 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5048, allocations: 0 / 0.5367 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5048, allocations: 5.297 kB / 0.5368 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.5055, allocations: 498.3 kB / 0.5372 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5055, allocations: 0 / 0.5372 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.5057, allocations: 28.73 kB / 0.5373 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5057, allocations: 9.906 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.5057, allocations: 5.156 kB / 0.5373 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5057, allocations: 1.062 kB / 0.5373 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5057, allocations: 4.984 kB / 0.5373 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.5061, allocations: 249.6 kB / 0.5375 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.5061, allocations: 87.53 kB / 0.5376 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.5061, allocations: 2.312 kB / 0.5376 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.5062, allocations: 11.48 kB / 0.5376 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.5063, allocations: 8.391 kB / 0.5376 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.5063, allocations: 11.91 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.5064, allocations: 127.6 kB / 0.5378 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5064, allocations: 0 / 0.5378 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.5067, allocations: 27 kB / 0.5378 GB, free: 8.043 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.001131/0.5078, allocations: 461.1 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.5081, allocations: 112.6 kB / 0.5383 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5082, allocations: 4 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.5083, allocations: 68.95 kB / 0.5384 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.5087, allocations: 12.31 kB / 0.5384 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.5093, allocations: 265.4 kB / 0.5387 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.5096, allocations: 0.7123 MB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.574e-05/0.5097, allocations: 21.58 kB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.5098, allocations: 24.23 kB / 0.5394 GB, free: 6.777 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5098, allocations: 0 / 0.5394 GB, free: 6.777 MB / 398.1 MB Notification: Performance of Templates: time 0.004698/0.5145, allocations: 1.589 MB / 0.541 GB, free: 5.973 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches