Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001792/0.001792, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002359/0.00236, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.222/0.222, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003175/0.3114, allocations: 1.681 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3126, allocations: 0.5818 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.3126, allocations: 1.344 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.3133, allocations: 457 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.3138, allocations: 287.7 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.3143, allocations: 182.8 kB / 0.5337 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.3145, allocations: 182.9 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3147, allocations: 18.48 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3148, allocations: 119.7 kB / 0.534 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.3151, allocations: 207.7 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.3151, allocations: 4.125 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3152, allocations: 47.61 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3153, allocations: 83.56 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3155, allocations: 120.8 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.3159, allocations: 288.1 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3159, allocations: 1.156 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3159, allocations: 0 / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3159, allocations: 0 / 0.5347 GB, free: 10.59 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.0008768/0.3168, allocations: 0.6693 MB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3169, allocations: 10.28 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.3169, allocations: 35.91 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.317, allocations: 44.03 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.3173, allocations: 312.5 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3173, allocations: 2.031 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3173, allocations: 11.64 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3175, allocations: 66.11 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3175, allocations: 0 / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3175, allocations: 1.469 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3176, allocations: 5.234 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.3177, allocations: 33.7 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.3182, allocations: 414.9 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3184, allocations: 48.16 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.3184, allocations: 24.84 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3185, allocations: 0.8125 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3185, allocations: 32.31 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3185, allocations: 4 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009862/0.3195, allocations: 328.6 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.3196, allocations: 56.47 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/0.3205, allocations: 0.8746 MB / 0.5376 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3205, allocations: 29.7 kB / 0.5377 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3207, allocations: 231 kB / 0.5379 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3208, allocations: 23.09 kB / 0.5379 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3208, allocations: 24.58 kB / 0.5379 GB, free: 8.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.321, allocations: 363.8 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.3211, allocations: 33.31 kB / 0.5383 GB, free: 7.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.3212, allocations: 29.39 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3214, allocations: 82.09 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3214, allocations: 0 / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002744/0.3217, allocations: 153.1 kB / 0.5385 GB, free: 7.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3217, allocations: 8.125 kB / 0.5386 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3217, allocations: 0 / 0.5386 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3217, allocations: 0 / 0.5386 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3218, allocations: 23.11 kB / 0.5386 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3219, allocations: 8.062 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.3219, allocations: 8.234 kB / 0.5386 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.3219, allocations: 1.562 kB / 0.5386 GB, free: 7.543 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.000206/0.3221, allocations: 219.2 kB / 0.5388 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.3222, allocations: 43.5 kB / 0.5388 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.3226, allocations: 178.5 kB / 0.539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3226, allocations: 8.844 kB / 0.539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3226, allocations: 1.25 kB / 0.539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3226, allocations: 0 / 0.539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.3234, allocations: 0.5285 MB / 0.5395 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3234, allocations: 0 / 0.5395 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.3235, allocations: 22.33 kB / 0.5396 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3235, allocations: 1.156 kB / 0.5396 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3235, allocations: 5.125 kB / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3235, allocations: 4.969 kB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3235, allocations: 1.281 kB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.3239, allocations: 243.5 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.324, allocations: 123.1 kB / 0.5399 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.324, allocations: 5.094 kB / 0.5399 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.302e-05/0.3241, allocations: 8.391 kB / 0.5399 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.3242, allocations: 11.67 kB / 0.5399 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3242, allocations: 2.219 kB / 0.54 GB, free: 6.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006757/0.3248, allocations: 0.66 MB / 0.5406 GB, free: 6.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3249, allocations: 1.062 kB / 0.5406 GB, free: 6.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.3251, allocations: 26.34 kB / 0.5406 GB, free: 6.105 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.002184/0.3273, allocations: 1.13 MB / 0.5417 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3276, allocations: 83.67 kB / 0.5418 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3276, allocations: 1.156 kB / 0.5418 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3277, allocations: 44.59 kB / 0.5418 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3281, allocations: 45.98 kB / 0.5419 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.3323, allocations: 3.392 MB / 0.5452 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.3328, allocations: 0.8299 MB / 0.546 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.203e-05/0.3329, allocations: 20.73 kB / 0.546 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.333, allocations: 119.4 kB / 0.5461 GB, free: 1.484 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.333, allocations: 0 / 0.5461 GB, free: 1.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.3651, allocations: 6.462 MB / 0.5525 GB, free: 11.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.721/9.086, allocations: 6.031 kB / 0.5525 GB, free: 11.1 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1)