Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247 MB, free: 10.41 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.2248/0.2248, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002389/0.002389, allocations: 83.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3815, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003532/0.3851, allocations: 2.053 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.3873, allocations: 1.346 MB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.3874, allocations: 2.75 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3877, allocations: 57.02 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.3882, allocations: 206.5 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3894, allocations: 0.5997 MB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.3898, allocations: 317.5 kB / 0.5351 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.39, allocations: 70.34 kB / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.3902, allocations: 137 kB / 0.5353 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3905, allocations: 193.9 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.3905, allocations: 16.31 kB / 0.5355 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3907, allocations: 68.8 kB / 0.5355 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.3909, allocations: 147.4 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.391, allocations: 171.7 kB / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.3915, allocations: 422 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3916, allocations: 0 / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3916, allocations: 1.562 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3916, allocations: 0 / 0.5362 GB, free: 9.246 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001089/0.3927, allocations: 0.8298 MB / 0.5371 GB, free: 8.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3927, allocations: 9.375 kB / 0.5371 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.3928, allocations: 42.89 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.3931, allocations: 77.69 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006599/0.3937, allocations: 0.4917 MB / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3937, allocations: 7.938 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3938, allocations: 10.72 kB / 0.5377 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.3941, allocations: 148.7 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3941, allocations: 0 / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3941, allocations: 5.438 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3942, allocations: 2.688 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.3944, allocations: 97.08 kB / 0.5379 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/0.3954, allocations: 0.7002 MB / 0.5386 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.3956, allocations: 117.5 kB / 0.5387 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3957, allocations: 45.78 kB / 0.5388 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.3958, allocations: 9.984 kB / 0.5388 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3958, allocations: 43.59 kB / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3958, allocations: 0 / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001488/0.3973, allocations: 0.5608 MB / 0.5394 GB, free: 6.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3974, allocations: 91.89 kB / 0.5394 GB, free: 6.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3985, allocations: 0.925 MB / 0.5404 GB, free: 6.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3986, allocations: 27.27 kB / 0.5404 GB, free: 6.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.3988, allocations: 277.8 kB / 0.5406 GB, free: 5.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.3989, allocations: 57.17 kB / 0.5407 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.399, allocations: 34.14 kB / 0.5407 GB, free: 5.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3991, allocations: 318.9 kB / 0.541 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3993, allocations: 66.98 kB / 0.5411 GB, free: 5.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.3995, allocations: 76.86 kB / 0.5412 GB, free: 5.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.3999, allocations: 157.1 kB / 0.5413 GB, free: 5.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3999, allocations: 0 / 0.5413 GB, free: 5.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000522/0.4004, allocations: 261 kB / 0.5416 GB, free: 5.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4004, allocations: 4.938 kB / 0.5416 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4004, allocations: 1.344 kB / 0.5416 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4005, allocations: 1.219 kB / 0.5416 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.4007, allocations: 36.12 kB / 0.5416 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4007, allocations: 4.938 kB / 0.5416 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.4008, allocations: 15.64 kB / 0.5416 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.4008, allocations: 8.375 kB / 0.5416 GB, free: 5.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002273/0.4011, allocations: 220 kB / 0.5418 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4012, allocations: 61.64 kB / 0.5419 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.4018, allocations: 294 kB / 0.5422 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4019, allocations: 2.125 kB / 0.5422 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.4019, allocations: 4 kB / 0.5422 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4019, allocations: 1.094 kB / 0.5422 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.4032, allocations: 0.8189 MB / 0.543 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4032, allocations: 0 / 0.543 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.4034, allocations: 44.56 kB / 0.543 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4034, allocations: 0 / 0.543 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4034, allocations: 6.5 kB / 0.543 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4035, allocations: 5.094 kB / 0.543 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4035, allocations: 1.125 kB / 0.543 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.4041, allocations: 425.1 kB / 0.5435 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.4042, allocations: 158.6 kB / 0.5436 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.4043, allocations: 1.125 kB / 0.5436 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.4045, allocations: 20.55 kB / 0.5436 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.4046, allocations: 13.72 kB / 0.5436 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4046, allocations: 8.75 kB / 0.5436 GB, free: 3.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008106/0.4054, allocations: 0.681 MB / 0.5443 GB, free: 3.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.4054, allocations: 0 / 0.5443 GB, free: 3.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.4058, allocations: 63.88 kB / 0.5444 GB, free: 3.25 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 (16): * Single equations (assignments): 16 * 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.002283/0.4081, allocations: 1.249 MB / 0.5456 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004683/0.4086, allocations: 159.8 kB / 0.5457 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4086, allocations: 0 / 0.5457 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.4088, allocations: 95.86 kB / 0.5458 GB, free: 1.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.4094, allocations: 76.39 kB / 0.5459 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.4169, allocations: 5.21 MB / 0.551 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.4176, allocations: 0.877 MB / 0.5519 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.4179, allocations: 87.2 kB / 0.5519 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.4182, allocations: 183.4 kB / 0.5521 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4182, allocations: 0 / 0.5521 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.4527, allocations: 10.14 MB / 0.562 GB, free: 1.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.306, allocations: 14.02 kB / 0.562 GB, free: 1.273 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1)