Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 118.5 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.001208/0.001208, allocations: 197.2 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.454/1.454, 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.2418/0.2418, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 80.08 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4939, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00387/0.4979, allocations: 1.651 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.4992, allocations: 0.5451 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.4993, allocations: 1.375 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.4997, allocations: 41.39 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.5001, allocations: 73.81 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.5004, allocations: 103.7 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.5007, allocations: 86.12 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.5008, allocations: 28.36 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.5009, allocations: 28.23 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.5011, allocations: 44.2 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.5011, allocations: 4.125 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.5012, allocations: 42.23 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.5013, allocations: 18.8 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.504e-05/0.5014, allocations: 42.55 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.5017, allocations: 107.9 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.5017, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.5017, allocations: 1.375 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.5017, allocations: 0 / 0.5338 GB, free: 11.5 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.0007203/0.5024, allocations: 418.2 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.5025, allocations: 10.52 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.5026, allocations: 12.97 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.5028, allocations: 203.1 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.5029, allocations: 3.125 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.5029, allocations: 4.5 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.5031, allocations: 73.03 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.5032, allocations: 1.375 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.5032, allocations: 4 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.5032, allocations: 1.375 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.5033, allocations: 47.27 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.5039, allocations: 322.3 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.504, allocations: 58.19 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.5041, allocations: 27.06 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.5041, allocations: 2.156 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.5042, allocations: 39.47 kB / 0.5349 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5042, allocations: 0 / 0.5349 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00122/0.5054, allocations: 302.2 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.5055, allocations: 61.62 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.5057, allocations: 162.1 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.533e-05/0.5058, allocations: 26.92 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.5059, allocations: 104.8 kB / 0.5356 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.5059, allocations: 43.97 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.506, allocations: 27.41 kB / 0.5356 GB, free: 9.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5061, allocations: 321 kB / 0.5359 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.5063, allocations: 44.28 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.969e-05/0.5064, allocations: 32.83 kB / 0.536 GB, free: 9.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.5066, allocations: 93.64 kB / 0.5361 GB, free: 9.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5066, allocations: 1.094 kB / 0.5361 GB, free: 9.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000267/0.5069, allocations: 131 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5069, allocations: 9.531 kB / 0.5362 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5069, allocations: 4 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.5069, allocations: 4.938 kB / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.5071, allocations: 29.52 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.5071, allocations: 1.406 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.5071, allocations: 2.906 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5071, allocations: 6.875 kB / 0.5363 GB, free: 9.262 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.0001183/0.5073, allocations: 125.1 kB / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.5073, allocations: 17.34 kB / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.5077, allocations: 159.4 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5077, allocations: 1.25 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5077, allocations: 1.281 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5077, allocations: 0 / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.5084, allocations: 472.3 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5084, allocations: 0 / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.5085, allocations: 32.55 kB / 0.5371 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5085, allocations: 1.469 kB / 0.5371 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.5085, allocations: 6.016 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5085, allocations: 1.062 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5085, allocations: 1.031 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.5089, allocations: 238.1 kB / 0.5373 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.5089, allocations: 87.08 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.509, allocations: 10.02 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.5091, allocations: 7.312 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.5091, allocations: 9.203 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.5091, allocations: 3.531 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.5092, allocations: 127.1 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5092, allocations: 1.281 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.5095, allocations: 29.47 kB / 0.5376 GB, free: 8.164 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.001166/0.5107, allocations: 466.7 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.511, allocations: 105.2 kB / 0.5381 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.511, allocations: 0 / 0.5381 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.5111, allocations: 52.2 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.5115, allocations: 24.02 kB / 0.5382 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.5121, allocations: 241 kB / 0.5384 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.5125, allocations: 0.7108 MB / 0.5391 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.5126, allocations: 19.58 kB / 0.5391 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.5126, allocations: 21.17 kB / 0.5391 GB, free: 6.918 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5127, allocations: 0 / 0.5391 GB, free: 6.918 MB / 398.1 MB Notification: Performance of Templates: time 0.004881/0.5175, allocations: 1.528 MB / 0.5406 GB, free: 6.141 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches