Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 118.8 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.001703/0.001703, allocations: 202 kB / 18.73 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.548/1.548, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2724/0.2724, allocations: 46.09 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 76.09 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4915, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003805/0.4954, allocations: 1.617 MB / 0.5326 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4966, allocations: 0.5371 MB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.4967, allocations: 1.375 kB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.4971, allocations: 76.77 kB / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.4975, allocations: 102.1 kB / 0.5333 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.4978, allocations: 95.69 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.498, allocations: 83.55 kB / 0.5335 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4981, allocations: 16.25 kB / 0.5335 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.4982, allocations: 44.33 kB / 0.5335 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.4983, allocations: 51.33 kB / 0.5336 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4983, allocations: 2.75 kB / 0.5336 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.4985, allocations: 50.22 kB / 0.5336 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.4985, allocations: 18.8 kB / 0.5336 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.4986, allocations: 29.25 kB / 0.5337 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4988, allocations: 107 kB / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4988, allocations: 7.938 kB / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4988, allocations: 0 / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4988, allocations: 1.375 kB / 0.5338 GB, free: 11.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006073/0.4994, allocations: 415.6 kB / 0.5342 GB, free: 11.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4995, allocations: 8.25 kB / 0.5342 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.4995, allocations: 14.34 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.4998, allocations: 209.2 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4998, allocations: 1.75 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.4998, allocations: 1.75 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5, allocations: 67.48 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5, allocations: 0 / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.5, allocations: 3.938 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5001, allocations: 1.375 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.807e-05/0.5002, allocations: 23.02 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.5006, allocations: 303.6 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5007, allocations: 50.81 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.5008, allocations: 15.77 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.5008, allocations: 1.094 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.5009, allocations: 35.61 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 6.462e-06/0.5009, allocations: 3.984 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009472/0.5018, allocations: 222.9 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5019, allocations: 51.41 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.5022, allocations: 211.7 kB / 0.5354 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.5022, allocations: 29.7 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.5023, allocations: 110 kB / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.5023, allocations: 31.14 kB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.5024, allocations: 19.28 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5025, allocations: 322.3 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.5027, allocations: 26.61 kB / 0.5359 GB, free: 9.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.5028, allocations: 22.05 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.503, allocations: 71.55 kB / 0.536 GB, free: 9.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.503, allocations: 5.156 kB / 0.536 GB, free: 9.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002217/0.5032, allocations: 99.36 kB / 0.5361 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5032, allocations: 5.781 kB / 0.5361 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5032, allocations: 0 / 0.5361 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5033, allocations: 1.094 kB / 0.5361 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.5034, allocations: 21.23 kB / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5034, allocations: 1.031 kB / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.5035, allocations: 7 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5035, allocations: 6.141 kB / 0.5361 GB, free: 9.594 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 (8): * Single equations (assignments): 8 * 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.00013/0.5036, allocations: 136 kB / 0.5362 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.5037, allocations: 13.22 kB / 0.5362 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.504, allocations: 117.1 kB / 0.5363 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.504, allocations: 1.094 kB / 0.5363 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.504, allocations: 0 / 0.5363 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.504, allocations: 3.938 kB / 0.5364 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.5045, allocations: 415.2 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5045, allocations: 1.219 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.389e-05/0.5046, allocations: 16.91 kB / 0.5368 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5046, allocations: 5.031 kB / 0.5368 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5047, allocations: 5.203 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5047, allocations: 5.375 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5047, allocations: 1.344 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.5049, allocations: 204.1 kB / 0.537 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.505, allocations: 91.33 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.505, allocations: 2.312 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.5051, allocations: 2.312 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.5051, allocations: 16.09 kB / 0.5371 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.5052, allocations: 6.531 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.5053, allocations: 171.6 kB / 0.5373 GB, free: 8.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5053, allocations: 0 / 0.5373 GB, free: 8.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.5056, allocations: 17.34 kB / 0.5373 GB, free: 8.535 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 (8): * Single equations (assignments): 8 * 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.001142/0.5067, allocations: 463.5 kB / 0.5377 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.507, allocations: 63.27 kB / 0.5378 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.507, allocations: 3.938 kB / 0.5378 GB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.5071, allocations: 33.48 kB / 0.5378 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.5075, allocations: 18.72 kB / 0.5378 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.5082, allocations: 272.4 kB / 0.5381 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.5085, allocations: 0.7028 MB / 0.5388 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.5086, allocations: 16.66 kB / 0.5388 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.5087, allocations: 13.09 kB / 0.5388 GB, free: 7.312 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5087, allocations: 4 kB / 0.5388 GB, free: 7.309 MB / 398.1 MB Notification: Performance of Templates: time 0.005129/0.5138, allocations: 1.353 MB / 0.5401 GB, free: 6.621 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches