Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001144, allocations: 118.2 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.001315/0.001315, allocations: 205.2 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.547/1.547, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2559/0.2559, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 72.09 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4797, allocations: 62.42 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.004098/0.4838, allocations: 1.622 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.4851, allocations: 0.5384 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.4852, allocations: 0 / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.4856, allocations: 130.7 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.4861, allocations: 123.9 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.4864, allocations: 94.45 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.4867, allocations: 101.1 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.4869, allocations: 16.25 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.487, allocations: 45.88 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.4872, allocations: 85.16 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.4872, allocations: 4.125 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.4874, allocations: 40.86 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.691e-05/0.4875, allocations: 34.84 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.4875, allocations: 38.5 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.4878, allocations: 127.7 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4878, allocations: 0 / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4878, allocations: 1.438 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4878, allocations: 0 / 0.5339 GB, free: 11.45 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.0006324/0.4885, allocations: 441.1 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4885, allocations: 12.88 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.4886, allocations: 18.88 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4888, allocations: 210.7 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4888, allocations: 5.594 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.4889, allocations: 7 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.489, allocations: 58.52 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4891, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.4891, allocations: 9.391 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4891, allocations: 0 / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4892, allocations: 23.11 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.4897, allocations: 303.3 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.4898, allocations: 47.09 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.4898, allocations: 20.31 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.4899, allocations: 1.375 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4899, allocations: 31.62 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4899, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001048/0.491, allocations: 236.3 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.491, allocations: 52.56 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.4914, allocations: 278.6 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4915, allocations: 33.64 kB / 0.5356 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4916, allocations: 117 kB / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.4916, allocations: 30.36 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.4917, allocations: 19.84 kB / 0.5358 GB, free: 9.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.4919, allocations: 336.1 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.492, allocations: 21.48 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.4921, allocations: 22.27 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.4923, allocations: 63.7 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4923, allocations: 0 / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003097/0.4926, allocations: 101.3 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.4927, allocations: 13.27 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.4927, allocations: 5.219 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4927, allocations: 3.938 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.4929, allocations: 22.61 kB / 0.5364 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4929, allocations: 0 / 0.5364 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.493, allocations: 7.781 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.493, allocations: 1.188 kB / 0.5364 GB, free: 9.23 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.0001373/0.4931, allocations: 133.8 kB / 0.5365 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.4932, allocations: 18.41 kB / 0.5365 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.4935, allocations: 127.5 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4935, allocations: 0 / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4935, allocations: 1.5 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.4936, allocations: 3.938 kB / 0.5366 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006177/0.4942, allocations: 416.2 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4942, allocations: 4.031 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.4943, allocations: 18.14 kB / 0.5371 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.4943, allocations: 5.031 kB / 0.5371 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.4943, allocations: 5.094 kB / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4943, allocations: 1.094 kB / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4943, allocations: 1.062 kB / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.4946, allocations: 213.5 kB / 0.5373 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.4947, allocations: 92.88 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.4947, allocations: 1.438 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.4948, allocations: 7.297 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.4949, allocations: 7.281 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.4949, allocations: 2.344 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.4951, allocations: 208.9 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4951, allocations: 0 / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.4954, allocations: 27.22 kB / 0.5376 GB, free: 8.16 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.001273/0.4967, allocations: 455.4 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.497, allocations: 78.22 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.497, allocations: 0 / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.368e-05/0.4971, allocations: 30.17 kB / 0.5381 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.4976, allocations: 35.39 kB / 0.5382 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.4983, allocations: 307.4 kB / 0.5385 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.4988, allocations: 0.7129 MB / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.104e-05/0.4988, allocations: 16.83 kB / 0.5392 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.4989, allocations: 21.06 kB / 0.5392 GB, free: 6.902 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4989, allocations: 0.9062 kB / 0.5392 GB, free: 6.902 MB / 398.1 MB Notification: Performance of Templates: time 0.005435/0.5043, allocations: 1.386 MB / 0.5406 GB, free: 6.199 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches