Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 120.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, 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.2602/0.2602, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 72.11 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4998, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.004073/0.504, allocations: 1.62 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.5052, allocations: 0.5476 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.236e-05/0.5053, allocations: 1.375 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.5057, allocations: 78.48 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.5061, allocations: 96.56 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.5065, allocations: 130.9 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.5067, allocations: 75.77 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.5068, allocations: 17.33 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.5069, allocations: 40.33 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.507, allocations: 60.69 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.5071, allocations: 2.75 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.5072, allocations: 44.86 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.5072, allocations: 16.19 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.5073, allocations: 37.22 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.5076, allocations: 110.5 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5076, allocations: 0 / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.5076, allocations: 1.375 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.5076, allocations: 0 / 0.5338 GB, free: 11.53 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.000607/0.5082, allocations: 423.5 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5083, allocations: 9.625 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.5083, allocations: 12.97 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.5086, allocations: 205.2 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5086, allocations: 1.75 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.5086, allocations: 7.125 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.5088, allocations: 55.55 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5088, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.5088, allocations: 4 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5088, allocations: 1.375 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.509, allocations: 40.39 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.5095, allocations: 295 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.5096, allocations: 52.36 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.5097, allocations: 21.05 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.5097, allocations: 5.375 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.5097, allocations: 34.64 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.5098, allocations: 1.375 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000947/0.5107, allocations: 237.6 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.5108, allocations: 56.5 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.511, allocations: 211.3 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.511, allocations: 25.7 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.5111, allocations: 114.4 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.5112, allocations: 34.55 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.5112, allocations: 20.09 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5113, allocations: 322.3 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.5114, allocations: 32.61 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.5115, allocations: 32.78 kB / 0.536 GB, free: 9.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.5117, allocations: 82.22 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5117, allocations: 0 / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002314/0.5119, allocations: 105.2 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.5119, allocations: 5.469 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.512, allocations: 0 / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.512, allocations: 5.094 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.5121, allocations: 21.58 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.5121, allocations: 1.25 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.5121, allocations: 10.88 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.5121, allocations: 2.219 kB / 0.5362 GB, free: 9.352 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.496e-05/0.5122, allocations: 129 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.5123, allocations: 16.31 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.5126, allocations: 139 kB / 0.5365 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5126, allocations: 1.156 kB / 0.5365 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.5126, allocations: 0 / 0.5365 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.5126, allocations: 3.938 kB / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.5132, allocations: 420.3 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5132, allocations: 0 / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.5133, allocations: 26.33 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.5133, allocations: 5.031 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.5133, allocations: 5 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5133, allocations: 1.219 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5133, allocations: 1.281 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.5136, allocations: 211.7 kB / 0.5371 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.5137, allocations: 96.52 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.5137, allocations: 1.375 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.5138, allocations: 7.422 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.5138, allocations: 4.031 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.5138, allocations: 2.375 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.514, allocations: 175 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.514, allocations: 0 / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.5142, allocations: 23.33 kB / 0.5374 GB, free: 8.277 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.0009902/0.5152, allocations: 454.3 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.5154, allocations: 71.45 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5155, allocations: 5.375 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.368e-05/0.5156, allocations: 42.94 kB / 0.538 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.5159, allocations: 19 kB / 0.538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.5164, allocations: 269.1 kB / 0.5382 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.5167, allocations: 0.7133 MB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.487e-05/0.5168, allocations: 20.56 kB / 0.5389 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.5168, allocations: 21.42 kB / 0.539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5168, allocations: 0 / 0.539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of Templates: time 0.003829/0.5207, allocations: 1.388 MB / 0.5403 GB, free: 6.34 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches