Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001424, allocations: 122.8 kB / 17.79 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.001405/0.001405, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 80.08 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3838, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.00338/0.3872, allocations: 1.681 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3883, allocations: 0.5458 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.3883, allocations: 1.781 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.3886, allocations: 81.42 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.3889, allocations: 102.1 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.3893, allocations: 130.2 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3894, allocations: 90.25 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3895, allocations: 21.84 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.3896, allocations: 40.34 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3897, allocations: 56.55 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3898, allocations: 4.125 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3899, allocations: 52.92 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.39, allocations: 25.55 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3901, allocations: 34.61 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3903, allocations: 131.4 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3903, allocations: 0 / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3904, allocations: 0 / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.3904, allocations: 1.375 kB / 0.5339 GB, free: 11.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005542/0.3909, allocations: 417.6 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.391, allocations: 9.625 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.391, allocations: 10.34 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3912, allocations: 203.7 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3913, allocations: 5.688 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.3913, allocations: 19.05 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3915, allocations: 63.48 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3915, allocations: 1.312 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3915, allocations: 0 / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.3915, allocations: 1.344 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3917, allocations: 42.08 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.3921, allocations: 315.2 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.3924, allocations: 55.14 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.3925, allocations: 24.78 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3925, allocations: 1.281 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3926, allocations: 35.91 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3926, allocations: 4 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001507/0.3941, allocations: 393.6 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3941, allocations: 57.59 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3943, allocations: 208.6 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3944, allocations: 30.89 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.3944, allocations: 105.8 kB / 0.5358 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.3945, allocations: 40.08 kB / 0.5359 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3945, allocations: 21 kB / 0.5359 GB, free: 9.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.3947, allocations: 331 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3949, allocations: 43.09 kB / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.395, allocations: 40.75 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.3953, allocations: 103.2 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3953, allocations: 1.469 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000392/0.3957, allocations: 146.1 kB / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3957, allocations: 4.938 kB / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3957, allocations: 0 / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3957, allocations: 5 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3958, allocations: 32.27 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3959, allocations: 1.375 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.3959, allocations: 12.92 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3959, allocations: 2.812 kB / 0.5366 GB, free: 9.113 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 (11): * Single equations (assignments): 11 * 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.592e-05/0.396, allocations: 133.8 kB / 0.5367 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.3961, allocations: 10.5 kB / 0.5367 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.3965, allocations: 162.8 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3965, allocations: 6.094 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3965, allocations: 0 / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3965, allocations: 1 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.3972, allocations: 480.5 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3972, allocations: 5.062 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3973, allocations: 36.19 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3973, allocations: 1.219 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3973, allocations: 2.656 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3974, allocations: 1.375 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3974, allocations: 1.125 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.3977, allocations: 259.5 kB / 0.5376 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.3978, allocations: 88.8 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3978, allocations: 1.375 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.3979, allocations: 18.23 kB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.398, allocations: 16.92 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.398, allocations: 3.5 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.3982, allocations: 162.2 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3982, allocations: 0 / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3985, allocations: 22.31 kB / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001236/0.3997, allocations: 459.2 kB / 0.5384 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.4001, allocations: 105.6 kB / 0.5385 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4001, allocations: 1.156 kB / 0.5385 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.4003, allocations: 62.19 kB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.4007, allocations: 34.25 kB / 0.5386 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/0.4014, allocations: 306.1 kB / 0.5389 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.4017, allocations: 0.7187 MB / 0.5396 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.4018, allocations: 20.77 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.4018, allocations: 16.03 kB / 0.5396 GB, free: 6.672 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4018, allocations: 3.938 kB / 0.5396 GB, free: 6.668 MB / 398.1 MB Notification: Performance of Templates: time 0.004357/0.4062, allocations: 1.581 MB / 0.5412 GB, free: 5.863 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches