Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 117.8 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 213.9 kB / 19.4 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.6 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.2283/0.2283, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 76.09 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3898, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003368/0.3933, allocations: 1.625 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3943, allocations: 0.5406 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.3944, allocations: 1.469 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.3948, allocations: 131 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.3951, allocations: 126.4 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.3954, allocations: 118.2 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.3956, allocations: 97.16 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3957, allocations: 16.25 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.3958, allocations: 47.25 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.396, allocations: 86.53 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.396, allocations: 6.688 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.655e-05/0.3961, allocations: 44.86 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.3962, allocations: 28.23 kB / 0.5345 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.3962, allocations: 38.55 kB / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.3965, allocations: 119.6 kB / 0.5346 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3965, allocations: 4 kB / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3965, allocations: 0 / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3965, allocations: 1.375 kB / 0.5346 GB, free: 11.43 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.0005913/0.3971, allocations: 438.8 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3971, allocations: 9.625 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.3972, allocations: 22.17 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3974, allocations: 210.6 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.3974, allocations: 1.75 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3975, allocations: 7.438 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3977, allocations: 58.97 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3977, allocations: 0 / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3977, allocations: 1.281 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3977, allocations: 0 / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3978, allocations: 28.16 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.3983, allocations: 315.7 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3984, allocations: 52.56 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.3985, allocations: 17.52 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3985, allocations: 0 / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3986, allocations: 35.89 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3986, allocations: 3.938 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000964/0.3995, allocations: 252.5 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3996, allocations: 52.44 kB / 0.5361 GB, free: 10.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.3999, allocations: 279.1 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3999, allocations: 25.7 kB / 0.5364 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.4, allocations: 116 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.4001, allocations: 31.08 kB / 0.5365 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.4001, allocations: 23.47 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4003, allocations: 324.5 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.4004, allocations: 32.22 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.4005, allocations: 28.61 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.4006, allocations: 77.59 kB / 0.537 GB, free: 9.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4007, allocations: 5.281 kB / 0.537 GB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000228/0.4009, allocations: 113.7 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4009, allocations: 5.781 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4009, allocations: 3.938 kB / 0.5371 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.401, allocations: 1 kB / 0.5371 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4011, allocations: 17.05 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4011, allocations: 1 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.4011, allocations: 14.77 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4012, allocations: 6.156 kB / 0.5371 GB, free: 9.195 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 0.0001098/0.4013, allocations: 138.5 kB / 0.5372 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.4013, allocations: 14.81 kB / 0.5373 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.4016, allocations: 135.6 kB / 0.5374 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4016, allocations: 1.969 kB / 0.5374 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4017, allocations: 0 / 0.5374 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4017, allocations: 3.938 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.4023, allocations: 429.1 kB / 0.5378 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4023, allocations: 3.984 kB / 0.5378 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.4023, allocations: 13.88 kB / 0.5378 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4024, allocations: 5.062 kB / 0.5378 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4024, allocations: 14.11 kB / 0.5378 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.4024, allocations: 0.9688 kB / 0.5378 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4024, allocations: 0 / 0.5378 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.4027, allocations: 218 kB / 0.5381 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.4027, allocations: 93.36 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.4028, allocations: 1.094 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.4028, allocations: 7.359 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.4029, allocations: 3.406 kB / 0.5382 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.4029, allocations: 6.031 kB / 0.5382 GB, free: 8.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.4031, allocations: 213.3 kB / 0.5384 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4031, allocations: 0 / 0.5384 GB, free: 8.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.4034, allocations: 19.25 kB / 0.5384 GB, free: 8.117 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.001118/0.4045, allocations: 465.6 kB / 0.5388 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.4048, allocations: 78.94 kB / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4048, allocations: 0 / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4049, allocations: 40.02 kB / 0.5389 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.4053, allocations: 23.31 kB / 0.539 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.406, allocations: 354.8 kB / 0.5393 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4063, allocations: 0.7189 MB / 0.54 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.4063, allocations: 18.23 kB / 0.54 GB, free: 6.828 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4064, allocations: 0 / 0.54 GB, free: 6.828 MB / 398.1 MB Notification: Performance of Templates: time 0.004455/0.4108, allocations: 1.959 MB / 0.5419 GB, free: 5.805 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches