Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, 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.001522/0.001522, 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.451/1.451, allocations: 227.4 MB / 247 MB, free: 10.45 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.2332/0.2332, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002206/0.002207, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3781, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003103/0.3813, allocations: 1.687 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3823, allocations: 0.575 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.3824, allocations: 1.938 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.3826, allocations: 37.14 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.3829, allocations: 101.3 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.3833, allocations: 173 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.3835, allocations: 99.42 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3836, allocations: 23.22 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.3837, allocations: 37.59 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.3838, allocations: 37.72 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3838, allocations: 4.125 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.923e-05/0.3839, allocations: 48.92 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.384, allocations: 28.16 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.3841, allocations: 34.61 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3843, allocations: 123 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3843, allocations: 0 / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3843, allocations: 1.375 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3843, allocations: 4 kB / 0.5336 GB, free: 11.15 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.0005605/0.3849, allocations: 423.7 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3849, allocations: 9.625 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.385, allocations: 36.06 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.385, allocations: 14.34 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3852, allocations: 204.2 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.3852, allocations: 1.812 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3853, allocations: 4.156 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3855, allocations: 76.22 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3855, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3855, allocations: 5.094 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3855, allocations: 1.156 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.3857, allocations: 44.83 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.3861, allocations: 317.2 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.3864, allocations: 67.39 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.3865, allocations: 26.34 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3865, allocations: 1.312 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3865, allocations: 39.52 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.865e-06/0.3866, allocations: 3.984 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001573/0.3881, allocations: 430.3 kB / 0.5352 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3882, allocations: 56.62 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3884, allocations: 183.7 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3884, allocations: 25.7 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.3885, allocations: 109.7 kB / 0.5356 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.3886, allocations: 47.75 kB / 0.5356 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.3886, allocations: 27.28 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3888, allocations: 321.6 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3889, allocations: 56.83 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3891, allocations: 56.88 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.3894, allocations: 132.5 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3894, allocations: 0 / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003495/0.3897, allocations: 156.1 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3897, allocations: 9.797 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3898, allocations: 3.938 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3898, allocations: 5.062 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3899, allocations: 28.42 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3899, allocations: 1.125 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.39, allocations: 9.359 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.39, allocations: 7.312 kB / 0.5364 GB, free: 8.738 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.0001029/0.3901, allocations: 127.6 kB / 0.5365 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.3902, allocations: 13.34 kB / 0.5365 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.3906, allocations: 191.3 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.3906, allocations: 7.922 kB / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3906, allocations: 1.188 kB / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3906, allocations: 0 / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.3914, allocations: 0.4973 MB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3914, allocations: 1.031 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.3915, allocations: 28.62 kB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3915, allocations: 1.156 kB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3915, allocations: 6.25 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3916, allocations: 1.125 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3916, allocations: 1.406 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.392, allocations: 276.4 kB / 0.5375 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.3921, allocations: 92.88 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3921, allocations: 5.844 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3922, allocations: 14.64 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.3923, allocations: 8.125 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3923, allocations: 3.781 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3924, allocations: 149.5 kB / 0.5377 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3924, allocations: 96 / 0.5377 GB, free: 7.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3927, allocations: 30.25 kB / 0.5378 GB, free: 7.562 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.002252/0.395, allocations: 1.157 MB / 0.5389 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003709/0.3953, allocations: 132.6 kB / 0.539 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3954, allocations: 0 / 0.539 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.3955, allocations: 71.39 kB / 0.5391 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3959, allocations: 34.05 kB / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.3985, allocations: 1.893 MB / 0.541 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3988, allocations: 0.7154 MB / 0.5417 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.843e-05/0.3989, allocations: 39.8 kB / 0.5417 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.399, allocations: 38.53 kB / 0.5418 GB, free: 4.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.399, allocations: 1.719 kB / 0.5418 GB, free: 4.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.4252, allocations: 3.462 MB / 0.5451 GB, free: 2.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.525, allocations: 4.609 kB / 0.5451 GB, free: 2.359 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1)