Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002064, allocations: 199.9 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.445/1.445, 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.2264/0.2264, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 72.11 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4981, allocations: 62.43 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003229/0.5014, allocations: 1.656 MB / 0.5326 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.5025, allocations: 0.5573 MB / 0.5332 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.5026, allocations: 1.375 kB / 0.5332 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.503, allocations: 98.3 kB / 0.5333 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.5033, allocations: 106.3 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.5036, allocations: 119.9 kB / 0.5335 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.5039, allocations: 103.7 kB / 0.5336 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.504, allocations: 28.36 kB / 0.5336 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.5041, allocations: 47.08 kB / 0.5337 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.5042, allocations: 62.56 kB / 0.5337 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.5043, allocations: 4.344 kB / 0.5337 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.5044, allocations: 43.55 kB / 0.5338 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.5045, allocations: 25.7 kB / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.5045, allocations: 52.42 kB / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.5048, allocations: 136.6 kB / 0.534 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5048, allocations: 8.906 kB / 0.534 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5048, allocations: 0 / 0.534 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.5049, allocations: 0 / 0.534 GB, free: 11.61 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.0006623/0.5055, allocations: 431.4 kB / 0.5344 GB, free: 11.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.5056, allocations: 8.75 kB / 0.5344 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.5057, allocations: 15.28 kB / 0.5344 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.5059, allocations: 222.1 kB / 0.5346 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.5059, allocations: 7.875 kB / 0.5346 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.506, allocations: 7.656 kB / 0.5346 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.5062, allocations: 76.31 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5062, allocations: 3.953 kB / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5062, allocations: 1.062 kB / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5062, allocations: 1.188 kB / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.5064, allocations: 45.02 kB / 0.5348 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.507, allocations: 343.5 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.5072, allocations: 64.73 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.5072, allocations: 28.41 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.5073, allocations: 1.062 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.5073, allocations: 35.62 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.5073, allocations: 3.984 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001273/0.5086, allocations: 338.2 kB / 0.5355 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.5087, allocations: 53.69 kB / 0.5356 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.509, allocations: 238.3 kB / 0.5358 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.509, allocations: 33.7 kB / 0.5358 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.5091, allocations: 116 kB / 0.536 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.5092, allocations: 44.75 kB / 0.536 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.5093, allocations: 30.64 kB / 0.536 GB, free: 9.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5094, allocations: 327.1 kB / 0.5363 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.5095, allocations: 44.44 kB / 0.5364 GB, free: 9.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.5096, allocations: 45.34 kB / 0.5364 GB, free: 9.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.5099, allocations: 113 kB / 0.5365 GB, free: 9.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5099, allocations: 0 / 0.5365 GB, free: 9.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002901/0.5102, allocations: 155.4 kB / 0.5367 GB, free: 9.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5102, allocations: 13.17 kB / 0.5367 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5103, allocations: 5.094 kB / 0.5367 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5103, allocations: 5.031 kB / 0.5367 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.5104, allocations: 24.48 kB / 0.5367 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5104, allocations: 8.594 kB / 0.5367 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.5105, allocations: 3.75 kB / 0.5367 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.5105, allocations: 7.219 kB / 0.5367 GB, free: 9.219 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.0001254/0.5106, allocations: 132.4 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.5107, allocations: 14.31 kB / 0.5369 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.5111, allocations: 197.3 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5111, allocations: 1.062 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.5111, allocations: 5.125 kB / 0.5371 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.5112, allocations: 3.938 kB / 0.5371 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.5119, allocations: 0.4893 MB / 0.5376 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5119, allocations: 0 / 0.5376 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.512, allocations: 24.73 kB / 0.5376 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.512, allocations: 1.156 kB / 0.5376 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.512, allocations: 14.3 kB / 0.5376 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.512, allocations: 5.062 kB / 0.5376 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.512, allocations: 1.125 kB / 0.5376 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.5124, allocations: 257.7 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.5125, allocations: 89.36 kB / 0.5379 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.5125, allocations: 1.25 kB / 0.5379 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.5126, allocations: 15.33 kB / 0.538 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.5126, allocations: 9.484 kB / 0.538 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5126, allocations: 3.781 kB / 0.538 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.5128, allocations: 182 kB / 0.5381 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5128, allocations: 0 / 0.5381 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.5131, allocations: 24.22 kB / 0.5382 GB, free: 8.059 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.001223/0.5143, allocations: 457.6 kB / 0.5386 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.5147, allocations: 117 kB / 0.5387 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5147, allocations: 0 / 0.5387 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.5148, allocations: 64.75 kB / 0.5388 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.5153, allocations: 33.78 kB / 0.5388 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.516, allocations: 332.2 kB / 0.5391 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.5163, allocations: 0.7199 MB / 0.5398 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.117e-05/0.5164, allocations: 29.41 kB / 0.5399 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.5165, allocations: 15.72 kB / 0.5399 GB, free: 6.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5165, allocations: 0 / 0.5399 GB, free: 6.75 MB / 398.1 MB Notification: Performance of Templates: time 0.004964/0.5215, allocations: 1.626 MB / 0.5415 GB, free: 5.93 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches