Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001784/0.001784, allocations: 121 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.002325/0.002325, allocations: 206 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.888/1.888, 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.2493/0.2493, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4021, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003267/0.4054, allocations: 1.621 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.4066, allocations: 0.5439 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.4066, allocations: 0 / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.4069, allocations: 78.3 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.4073, allocations: 110.1 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.4076, allocations: 109.2 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.4078, allocations: 84.92 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.4079, allocations: 13.62 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.408, allocations: 42.95 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.4081, allocations: 60.69 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.4082, allocations: 2.75 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.4083, allocations: 46.23 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.4083, allocations: 18.8 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.4084, allocations: 34.61 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.4086, allocations: 106.6 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4086, allocations: 0 / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4086, allocations: 0 / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4086, allocations: 0 / 0.5338 GB, free: 11.54 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.0005338/0.4092, allocations: 423.5 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4092, allocations: 9.625 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.4093, allocations: 18.33 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.4095, allocations: 199.9 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4095, allocations: 3.125 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4095, allocations: 1.75 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4097, allocations: 59.55 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4097, allocations: 0 / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.4097, allocations: 5.375 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4097, allocations: 0 / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.4099, allocations: 36.34 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.4103, allocations: 308 kB / 0.5348 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.4104, allocations: 40.22 kB / 0.5349 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.4105, allocations: 28.28 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.4105, allocations: 5.141 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.4106, allocations: 31.78 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4106, allocations: 3.938 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009241/0.4115, allocations: 238.3 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.4115, allocations: 52.59 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.4118, allocations: 215.1 kB / 0.5354 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4118, allocations: 29.69 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.4119, allocations: 105.8 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.4119, allocations: 31.27 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.4119, allocations: 19.47 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4121, allocations: 331.2 kB / 0.5359 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.4122, allocations: 31.75 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.4122, allocations: 29.58 kB / 0.536 GB, free: 9.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.4124, allocations: 81.19 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4124, allocations: 1.094 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002283/0.4127, allocations: 109.3 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4127, allocations: 8.281 kB / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4127, allocations: 1.125 kB / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4127, allocations: 0 / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4128, allocations: 18.05 kB / 0.5362 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4128, allocations: 1 kB / 0.5362 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.4129, allocations: 15.36 kB / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.4129, allocations: 2.219 kB / 0.5362 GB, free: 9.363 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 9.619e-05/0.413, allocations: 132.2 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.413, allocations: 17.06 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.4133, allocations: 122.9 kB / 0.5364 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4133, allocations: 1.312 kB / 0.5364 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4134, allocations: 3.938 kB / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4134, allocations: 7.922 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.4139, allocations: 423.5 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4139, allocations: 5.469 kB / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.414, allocations: 17.16 kB / 0.5369 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.414, allocations: 9.172 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.414, allocations: 1.406 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.414, allocations: 1.312 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.414, allocations: 0 / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.4143, allocations: 213.9 kB / 0.5371 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.4143, allocations: 91.36 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.4144, allocations: 5.234 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.4145, allocations: 3.719 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.4145, allocations: 7.906 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.4145, allocations: 5.359 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.4147, allocations: 171.5 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4147, allocations: 1.344 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.4149, allocations: 25.97 kB / 0.5374 GB, free: 8.289 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.001026/0.416, allocations: 452.1 kB / 0.5378 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.4162, allocations: 71.2 kB / 0.5379 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4162, allocations: 0 / 0.5379 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4163, allocations: 44.44 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.4167, allocations: 29.78 kB / 0.538 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.4173, allocations: 269.7 kB / 0.5382 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4176, allocations: 0.7124 MB / 0.5389 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.143e-05/0.4177, allocations: 20.81 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.4177, allocations: 17.66 kB / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4177, allocations: 0 / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of Templates: time 0.004811/0.4226, allocations: 1.388 MB / 0.5403 GB, free: 6.352 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches