Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.001319, 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.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3579, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003163/0.3611, allocations: 1.603 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3624, allocations: 0.5304 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.3625, allocations: 5.062 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3627, allocations: 30.27 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.3631, allocations: 79.38 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.3634, allocations: 110.8 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.3636, allocations: 65.98 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3638, allocations: 19.45 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.3639, allocations: 24.67 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.3639, allocations: 22.23 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.364, allocations: 2.781 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3641, allocations: 36.64 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.3642, allocations: 17.08 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.3642, allocations: 23.72 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3645, allocations: 81.58 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3645, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3645, allocations: 4 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3645, allocations: 0 / 0.5336 GB, free: 11.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006983/0.3652, allocations: 384.2 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.3653, allocations: 13.61 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.3653, allocations: 7.594 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.3656, allocations: 193.7 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.3656, allocations: 1.75 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.3656, allocations: 1.75 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3658, allocations: 60.72 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3658, allocations: 5.375 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3659, allocations: 4 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3659, allocations: 1.375 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.366, allocations: 21.73 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.3665, allocations: 284.2 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.3668, allocations: 48.38 kB / 0.5346 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.3669, allocations: 19.81 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3669, allocations: 1.375 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3669, allocations: 31.94 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3669, allocations: 0 / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006338/0.3676, allocations: 163.1 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.3676, allocations: 51.41 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3678, allocations: 166.6 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3678, allocations: 31.08 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.3679, allocations: 96.25 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3679, allocations: 9.188 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.368, allocations: 17.84 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3681, allocations: 321.6 kB / 0.5354 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.3682, allocations: 24.36 kB / 0.5355 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.3683, allocations: 24.34 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3684, allocations: 54.89 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3684, allocations: 0 / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002132/0.3686, allocations: 92.12 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3687, allocations: 7.688 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3687, allocations: 7.938 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3687, allocations: 1.375 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.3688, allocations: 9 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3688, allocations: 0.9688 kB / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.3688, allocations: 11.23 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3689, allocations: 1.094 kB / 0.5357 GB, free: 9.641 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 (5): * Single equations (assignments): 5 * 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.0001074/0.369, allocations: 115.3 kB / 0.5358 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.369, allocations: 20.14 kB / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.3693, allocations: 97.44 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3693, allocations: 1 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3693, allocations: 0 / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3694, allocations: 3.938 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.3699, allocations: 357.7 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3699, allocations: 0 / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.3699, allocations: 13.22 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3699, allocations: 5.312 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.37, allocations: 3.938 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.37, allocations: 1.094 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.37, allocations: 3.984 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3702, allocations: 179 kB / 0.5364 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3703, allocations: 83.78 kB / 0.5365 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3703, allocations: 8.188 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.3704, allocations: 11.91 kB / 0.5365 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.3705, allocations: 9.234 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3705, allocations: 1.25 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3706, allocations: 124 kB / 0.5367 GB, free: 8.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3706, allocations: 0 / 0.5367 GB, free: 8.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3709, allocations: 19.12 kB / 0.5367 GB, free: 8.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001096/0.372, allocations: 404.7 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3722, allocations: 46.94 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3722, allocations: 0 / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.3723, allocations: 32.91 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3727, allocations: 24.64 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.3733, allocations: 193.1 kB / 0.5373 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.3737, allocations: 0.7043 MB / 0.538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.189e-05/0.3738, allocations: 24.72 kB / 0.5381 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3739, allocations: 15.97 kB / 0.5381 GB, free: 7.52 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3739, allocations: 0 / 0.5381 GB, free: 7.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004517/0.3784, allocations: 1.122 MB / 0.5392 GB, free: 6.949 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches