Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.001301, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.6 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.2246/0.2246, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 75.88 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3873, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003045/0.3904, allocations: 1.652 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3914, allocations: 0.5465 MB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.3915, allocations: 1.469 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.3918, allocations: 94.55 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.3922, allocations: 117.9 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.3925, allocations: 99.56 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.3926, allocations: 90.44 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3928, allocations: 32.34 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.3928, allocations: 41.72 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3929, allocations: 60.62 kB / 0.5343 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.393, allocations: 5.5 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.3931, allocations: 50.22 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.3931, allocations: 25.55 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.3932, allocations: 43.88 kB / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3934, allocations: 122.2 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3934, allocations: 1.375 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3934, allocations: 0 / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3935, allocations: 4 kB / 0.5346 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005147/0.394, allocations: 430.9 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.394, allocations: 13.61 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.3941, allocations: 15.62 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3943, allocations: 213.7 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3943, allocations: 1.75 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3943, allocations: 4.5 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.3945, allocations: 78.3 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3945, allocations: 4 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3946, allocations: 9.312 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3946, allocations: 1.375 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.3947, allocations: 37.64 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.3951, allocations: 328.4 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3953, allocations: 65.83 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.3953, allocations: 24.2 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3954, allocations: 5.234 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3954, allocations: 40.19 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3954, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00103/0.3964, allocations: 300 kB / 0.5361 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3965, allocations: 52.56 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.3968, allocations: 246.3 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3968, allocations: 30.98 kB / 0.5364 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.3969, allocations: 117.7 kB / 0.5365 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.397, allocations: 37.33 kB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.397, allocations: 30.72 kB / 0.5366 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3972, allocations: 327.5 kB / 0.5369 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.3973, allocations: 39.06 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.322e-05/0.3973, allocations: 32.73 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.3975, allocations: 87.3 kB / 0.537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3975, allocations: 0 / 0.537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002742/0.3978, allocations: 151.2 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3979, allocations: 5 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3979, allocations: 0 / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3979, allocations: 5.469 kB / 0.5372 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.398, allocations: 28.73 kB / 0.5372 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.398, allocations: 0.7031 kB / 0.5372 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.3981, allocations: 3.344 kB / 0.5372 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.3981, allocations: 11.77 kB / 0.5372 GB, free: 9.094 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 (13): * Single equations (assignments): 13 * 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.0001047/0.3982, allocations: 131 kB / 0.5374 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.3983, allocations: 14.69 kB / 0.5374 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.3986, allocations: 170.4 kB / 0.5375 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3986, allocations: 6.531 kB / 0.5376 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3986, allocations: 0 / 0.5376 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3987, allocations: 0 / 0.5376 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006177/0.3993, allocations: 490.7 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3993, allocations: 0.9375 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.761e-05/0.3994, allocations: 32 kB / 0.5381 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3994, allocations: 1 kB / 0.5381 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3994, allocations: 6.594 kB / 0.5381 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3994, allocations: 1.094 kB / 0.5381 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3994, allocations: 1.188 kB / 0.5381 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.3998, allocations: 234 kB / 0.5383 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.3998, allocations: 97.53 kB / 0.5384 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3999, allocations: 0.9062 kB / 0.5384 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.3999, allocations: 3.375 kB / 0.5384 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.4, allocations: 17.73 kB / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.4, allocations: 3.5 kB / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.4002, allocations: 187 kB / 0.5386 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4002, allocations: 7.875 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.4005, allocations: 26.09 kB / 0.5386 GB, free: 7.945 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 (13): * Single equations (assignments): 13 * 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.00105/0.4015, allocations: 442.4 kB / 0.539 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.4018, allocations: 97.64 kB / 0.5391 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4018, allocations: 1.406 kB / 0.5391 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.4019, allocations: 51.09 kB / 0.5392 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4023, allocations: 38.8 kB / 0.5392 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.4029, allocations: 346.7 kB / 0.5395 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.4032, allocations: 0.7128 MB / 0.5402 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.4033, allocations: 25.48 kB / 0.5403 GB, free: 6.648 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4033, allocations: 0 / 0.5403 GB, free: 6.648 MB / 398.1 MB Notification: Performance of Templates: time 0.004051/0.4074, allocations: 2.07 MB / 0.5423 GB, free: 5.578 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches