Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001349, allocations: 111.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 217.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 76.09 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3746, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003588/0.3782, allocations: 1.679 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3795, allocations: 0.5822 MB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.3796, allocations: 5.375 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.3802, allocations: 461.2 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.3807, allocations: 292.9 kB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.3812, allocations: 177.4 kB / 0.5348 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.3815, allocations: 185.4 kB / 0.535 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3817, allocations: 24.14 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3818, allocations: 115.5 kB / 0.5351 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.3822, allocations: 217.4 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3822, allocations: 3.5 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3824, allocations: 53.19 kB / 0.5354 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3825, allocations: 92.09 kB / 0.5354 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.3826, allocations: 107.8 kB / 0.5355 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.383, allocations: 280.1 kB / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.383, allocations: 1.062 kB / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.383, allocations: 0 / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.383, allocations: 0 / 0.5358 GB, free: 10.84 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.000924/0.3839, allocations: 0.6537 MB / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.384, allocations: 8.406 kB / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.3841, allocations: 47.94 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.3844, allocations: 303.4 kB / 0.5368 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3844, allocations: 10.56 kB / 0.5368 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.3844, allocations: 3.344 kB / 0.5368 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3846, allocations: 65.39 kB / 0.5369 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3847, allocations: 0 / 0.5369 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3847, allocations: 5.125 kB / 0.5369 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3847, allocations: 1.125 kB / 0.5369 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3849, allocations: 44.73 kB / 0.5369 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.3856, allocations: 420.9 kB / 0.5373 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.3859, allocations: 61.08 kB / 0.5374 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.386, allocations: 29.86 kB / 0.5374 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.386, allocations: 1.219 kB / 0.5374 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/0.3861, allocations: 39.75 kB / 0.5374 GB, free: 9.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.667e-06/0.3861, allocations: 3.938 kB / 0.5375 GB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001591/0.3877, allocations: 0.4896 MB / 0.5379 GB, free: 9.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.3877, allocations: 56.72 kB / 0.538 GB, free: 9.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.3888, allocations: 0.8557 MB / 0.5388 GB, free: 8.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3888, allocations: 37.69 kB / 0.5389 GB, free: 8.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.389, allocations: 220.7 kB / 0.5391 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.3891, allocations: 31.55 kB / 0.5391 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.3891, allocations: 25.88 kB / 0.5391 GB, free: 8.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3893, allocations: 364.3 kB / 0.5395 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3895, allocations: 57.05 kB / 0.5395 GB, free: 7.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3896, allocations: 57.62 kB / 0.5396 GB, free: 7.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.3899, allocations: 127.8 kB / 0.5397 GB, free: 7.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3899, allocations: 0 / 0.5397 GB, free: 7.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003815/0.3903, allocations: 195 kB / 0.5399 GB, free: 7.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3903, allocations: 4.906 kB / 0.5399 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3904, allocations: 4 kB / 0.5399 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3904, allocations: 1.125 kB / 0.5399 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3906, allocations: 35.69 kB / 0.5399 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3906, allocations: 1.25 kB / 0.5399 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.3907, allocations: 13.86 kB / 0.5399 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3907, allocations: 2.344 kB / 0.5399 GB, free: 7.707 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 0.0002061/0.3909, allocations: 216.5 kB / 0.5402 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.391, allocations: 51.17 kB / 0.5402 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.3915, allocations: 230.3 kB / 0.5404 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.3915, allocations: 5.156 kB / 0.5404 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3915, allocations: 0 / 0.5404 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3915, allocations: 5.016 kB / 0.5404 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009047/0.3924, allocations: 0.594 MB / 0.541 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3924, allocations: 1.219 kB / 0.541 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3925, allocations: 33.09 kB / 0.541 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3926, allocations: 1.094 kB / 0.541 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3926, allocations: 1.375 kB / 0.541 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3926, allocations: 2.125 kB / 0.541 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3926, allocations: 0 / 0.541 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.3931, allocations: 318.9 kB / 0.5414 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3933, allocations: 120.1 kB / 0.5415 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3933, allocations: 1.156 kB / 0.5415 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3934, allocations: 13.86 kB / 0.5415 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3935, allocations: 12.64 kB / 0.5415 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3935, allocations: 3.406 kB / 0.5415 GB, free: 6.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008056/0.3943, allocations: 0.6488 MB / 0.5421 GB, free: 6.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3943, allocations: 0 / 0.5421 GB, free: 6.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.3946, allocations: 38.14 kB / 0.5422 GB, free: 6.168 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.001104/0.3957, allocations: 453.3 kB / 0.5426 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.3961, allocations: 128.2 kB / 0.5427 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3961, allocations: 4 kB / 0.5427 GB, free: 5.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.3963, allocations: 71.08 kB / 0.5428 GB, free: 5.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.3968, allocations: 39.53 kB / 0.5428 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3981, allocations: 0.9193 MB / 0.5437 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3986, allocations: 0.8377 MB / 0.5445 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.3986, allocations: 19.44 kB / 0.5446 GB, free: 4.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3986, allocations: 0 / 0.5446 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Templates: time 0.007559/0.4062, allocations: 4.244 MB / 0.5487 GB, free: 48 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches