Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 115.8 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.001215/0.001215, allocations: 210.7 kB / 19.41 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.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 79.89 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.311, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00305/0.3141, allocations: 1.66 MB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3158, allocations: 1.173 MB / 0.5344 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.3159, allocations: 1.375 kB / 0.5344 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.3161, allocations: 19.98 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.3165, allocations: 85.73 kB / 0.5345 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.3169, allocations: 141.2 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3171, allocations: 68.66 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.3172, allocations: 16.23 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.3172, allocations: 30.84 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.3174, allocations: 38.84 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3174, allocations: 5.5 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.3176, allocations: 100.1 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.3177, allocations: 21.47 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.3177, allocations: 29.3 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.318, allocations: 143.2 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.318, allocations: 1.312 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.318, allocations: 0 / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.318, allocations: 0 / 0.5351 GB, free: 10.92 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.0005278/0.3186, allocations: 414.2 kB / 0.5355 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3186, allocations: 9.156 kB / 0.5355 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.3187, allocations: 12.44 kB / 0.5355 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3189, allocations: 189.7 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.3189, allocations: 1.438 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.3189, allocations: 11.22 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.3192, allocations: 80.31 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3192, allocations: 1.312 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3192, allocations: 4 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3192, allocations: 1.25 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3194, allocations: 36.14 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3197, allocations: 298.9 kB / 0.5361 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3199, allocations: 39.81 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.32, allocations: 35.27 kB / 0.5362 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.32, allocations: 1.125 kB / 0.5362 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.32, allocations: 32.03 kB / 0.5362 GB, free: 9.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.32, allocations: 0 / 0.5362 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008537/0.3209, allocations: 212.2 kB / 0.5364 GB, free: 9.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.321, allocations: 78.23 kB / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3211, allocations: 146.3 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3212, allocations: 26.98 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.3212, allocations: 95.31 kB / 0.5368 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3213, allocations: 25.98 kB / 0.5368 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3213, allocations: 24.56 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.3214, allocations: 320 kB / 0.5371 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3215, allocations: 30.81 kB / 0.5371 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3217, allocations: 51.52 kB / 0.5372 GB, free: 8.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3219, allocations: 75.45 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3219, allocations: 1.062 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003205/0.3223, allocations: 114 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3223, allocations: 5.25 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3223, allocations: 1.281 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3223, allocations: 0 / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3224, allocations: 30.88 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3225, allocations: 1.125 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.3225, allocations: 14.34 kB / 0.5374 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3226, allocations: 1.312 kB / 0.5374 GB, free: 8.754 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 (7): * Single equations (assignments): 7 * 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 8.154e-05/0.3226, allocations: 119.3 kB / 0.5375 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.3227, allocations: 10.97 kB / 0.5375 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.3231, allocations: 120.3 kB / 0.5377 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3231, allocations: 1.312 kB / 0.5377 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3231, allocations: 0 / 0.5377 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3231, allocations: 7.875 kB / 0.5377 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.3236, allocations: 399.3 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3236, allocations: 5.219 kB / 0.5381 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.3238, allocations: 26.5 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.3238, allocations: 1.312 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.3238, allocations: 3.938 kB / 0.5381 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3238, allocations: 1.406 kB / 0.5381 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3238, allocations: 0 / 0.5381 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.3242, allocations: 218.4 kB / 0.5383 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.3242, allocations: 82.47 kB / 0.5384 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3243, allocations: 5.062 kB / 0.5384 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3244, allocations: 10.47 kB / 0.5384 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.3244, allocations: 6.172 kB / 0.5384 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3244, allocations: 2.312 kB / 0.5384 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.252e-05/0.3245, allocations: 117.4 kB / 0.5385 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3245, allocations: 0 / 0.5385 GB, free: 7.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.3249, allocations: 39 kB / 0.5385 GB, free: 7.738 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 (7): * Single equations (assignments): 7 * 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.001107/0.326, allocations: 497.4 kB / 0.539 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.3263, allocations: 82.89 kB / 0.5391 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3263, allocations: 0 / 0.5391 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3264, allocations: 41.94 kB / 0.5391 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3268, allocations: 26.92 kB / 0.5392 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.3273, allocations: 224.5 kB / 0.5394 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.3276, allocations: 0.6993 MB / 0.5401 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.3277, allocations: 19.2 kB / 0.5401 GB, free: 6.504 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3277, allocations: 0 / 0.5401 GB, free: 6.504 MB / 398.1 MB Notification: Performance of Templates: time 0.004301/0.332, allocations: 2.1 MB / 0.5421 GB, free: 5.414 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches