Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, 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.2576/0.2576, 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.002294/0.002294, allocations: 75.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3544, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003216/0.3576, allocations: 1.597 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.3586, allocations: 0.5271 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.3587, allocations: 1.312 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.3589, allocations: 35.2 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.3592, allocations: 77.22 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3594, allocations: 86.77 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.3596, allocations: 62.42 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3597, allocations: 14.11 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.3598, allocations: 28.67 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.3598, allocations: 25.39 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3599, allocations: 3.625 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.579e-05/0.3599, allocations: 32.67 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.36, allocations: 17.17 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.3601, allocations: 24.41 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.3602, allocations: 84.31 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3603, allocations: 1.875 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3603, allocations: 0 / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3603, allocations: 0 / 0.5332 GB, free: 11.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005439/0.3608, allocations: 402 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3609, allocations: 9.5 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.3609, allocations: 35.75 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.361, allocations: 16.62 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3612, allocations: 198.1 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3612, allocations: 5.562 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.3612, allocations: 1.594 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3614, allocations: 48.08 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3614, allocations: 0 / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.3614, allocations: 5.531 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3614, allocations: 0 / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.3615, allocations: 25.61 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.3619, allocations: 280 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.3621, allocations: 39.22 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.3621, allocations: 24.62 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3622, allocations: 0 / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3622, allocations: 35.62 kB / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3622, allocations: 0 / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005429/0.3628, allocations: 142.2 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3628, allocations: 56.72 kB / 0.5344 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.363, allocations: 186.9 kB / 0.5346 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.363, allocations: 25.7 kB / 0.5346 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3631, allocations: 104.2 kB / 0.5347 GB, free: 9.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3631, allocations: 18.64 kB / 0.5348 GB, free: 9.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.3632, allocations: 13.84 kB / 0.5348 GB, free: 9.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3633, allocations: 321.6 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.3634, allocations: 18.98 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.3635, allocations: 22.98 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.3636, allocations: 42.83 kB / 0.5352 GB, free: 9.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.3636, allocations: 1.375 kB / 0.5352 GB, free: 9.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001852/0.3638, allocations: 83.83 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3638, allocations: 5.5 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3639, allocations: 5.312 kB / 0.5353 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3639, allocations: 3.984 kB / 0.5353 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.3639, allocations: 17.61 kB / 0.5353 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.364, allocations: 3.938 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.364, allocations: 8.109 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.364, allocations: 1.375 kB / 0.5353 GB, free: 9.34 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 (5): * Single equations (assignments): 5 * 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 9.989e-05/0.3641, allocations: 116.7 kB / 0.5354 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.3642, allocations: 8.078 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.3644, allocations: 93.59 kB / 0.5355 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3644, allocations: 5.359 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3645, allocations: 8.188 kB / 0.5355 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3645, allocations: 1.375 kB / 0.5355 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.3649, allocations: 344 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3649, allocations: 3.938 kB / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.365, allocations: 13.61 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.365, allocations: 5.312 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.365, allocations: 4 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.365, allocations: 1.375 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.365, allocations: 0 / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3653, allocations: 180.4 kB / 0.536 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.3653, allocations: 86.39 kB / 0.5361 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3654, allocations: 5.312 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.3654, allocations: 10.73 kB / 0.5361 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3655, allocations: 6.75 kB / 0.5361 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3655, allocations: 1.375 kB / 0.5361 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.3656, allocations: 140.5 kB / 0.5363 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3656, allocations: 0 / 0.5363 GB, free: 8.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.3659, allocations: 19.89 kB / 0.5363 GB, free: 8.391 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 (5): * Single equations (assignments): 5 * 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.001927/0.3678, allocations: 1.008 MB / 0.5373 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.368, allocations: 43.97 kB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.368, allocations: 0 / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.3681, allocations: 31 kB / 0.5373 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3685, allocations: 11.75 kB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3703, allocations: 1.498 MB / 0.5388 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3706, allocations: 0.6929 MB / 0.5395 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.553e-05/0.3707, allocations: 17.39 kB / 0.5395 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.3708, allocations: 23.75 kB / 0.5395 GB, free: 5.461 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3708, allocations: 4 kB / 0.5395 GB, free: 5.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3948, allocations: 2.662 MB / 0.5421 GB, free: 3.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.535, allocations: 13.91 kB / 0.5422 GB, free: 3.965 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1)