Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, 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.2252/0.2252, allocations: 46.11 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.002377/0.002377, allocations: 79.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3431, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003128/0.3463, allocations: 1.654 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3474, allocations: 0.5617 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.3474, allocations: 1.25 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3477, allocations: 97.95 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.3481, allocations: 106.4 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.3484, allocations: 119.7 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.3486, allocations: 104 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3487, allocations: 30.2 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.3487, allocations: 42.77 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3489, allocations: 60.91 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3489, allocations: 5.375 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.349, allocations: 50.84 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.349, allocations: 30.86 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.3491, allocations: 39.94 kB / 0.5335 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3493, allocations: 135.1 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3493, allocations: 0 / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3493, allocations: 1.375 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3493, allocations: 0 / 0.5336 GB, free: 11.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000536/0.3499, allocations: 446.2 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3499, allocations: 9.625 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.35, allocations: 36.12 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.35, allocations: 15.72 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3502, allocations: 211.2 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-06/0.3503, allocations: 1.75 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.3503, allocations: 8.5 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3505, allocations: 75.59 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3505, allocations: 9.328 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3505, allocations: 0 / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3505, allocations: 10.67 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3506, allocations: 43.33 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.3512, allocations: 348.7 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3513, allocations: 67.42 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.3514, allocations: 29.22 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3514, allocations: 5.312 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3514, allocations: 30.56 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.3515, allocations: 0 / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001113/0.3526, allocations: 339.2 kB / 0.5352 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3526, allocations: 53.59 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3529, allocations: 238.4 kB / 0.5355 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3529, allocations: 30.83 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.353, allocations: 111.1 kB / 0.5356 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.3531, allocations: 44.3 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.3531, allocations: 35.77 kB / 0.5357 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3533, allocations: 331.1 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3534, allocations: 47.25 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3535, allocations: 48.91 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.3537, allocations: 107.1 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3537, allocations: 0 / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002982/0.3541, allocations: 164.1 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3541, allocations: 4.875 kB / 0.5364 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3541, allocations: 3.938 kB / 0.5364 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3541, allocations: 1.312 kB / 0.5364 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3542, allocations: 28.45 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3543, allocations: 1.531 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.3543, allocations: 3.125 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3543, allocations: 11.42 kB / 0.5364 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 (13): * Single equations (assignments): 13 * 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.0001186/0.3545, allocations: 135.6 kB / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.3545, allocations: 15.81 kB / 0.5365 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.3549, allocations: 185.2 kB / 0.5367 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3549, allocations: 5.125 kB / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.355, allocations: 0 / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.355, allocations: 1 kB / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.3557, allocations: 0.4927 MB / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3557, allocations: 1.562 kB / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3558, allocations: 23.73 kB / 0.5372 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3559, allocations: 4.953 kB / 0.5372 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3559, allocations: 6.125 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3559, allocations: 1 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3559, allocations: 1.281 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3563, allocations: 265.1 kB / 0.5375 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.3564, allocations: 93.3 kB / 0.5376 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.3564, allocations: 5.016 kB / 0.5376 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.3565, allocations: 8.219 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3565, allocations: 12.27 kB / 0.5376 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3566, allocations: 4.281 kB / 0.5376 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.3567, allocations: 186.2 kB / 0.5378 GB, free: 7.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3568, allocations: 0 / 0.5378 GB, free: 7.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000291/0.3571, allocations: 27.59 kB / 0.5378 GB, free: 7.59 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 (13): * Single equations (assignments): 13 * 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.002301/0.3594, allocations: 1.144 MB / 0.5389 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.3597, allocations: 109.1 kB / 0.539 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3597, allocations: 4 kB / 0.539 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3599, allocations: 60.41 kB / 0.5391 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.3603, allocations: 30.47 kB / 0.5391 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.3627, allocations: 1.912 MB / 0.541 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.3633, allocations: 0.7241 MB / 0.5417 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.3634, allocations: 24.66 kB / 0.5417 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.3635, allocations: 52.59 kB / 0.5418 GB, free: 4.293 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3635, allocations: 0 / 0.5418 GB, free: 4.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3906, allocations: 3.612 MB / 0.5453 GB, free: 2.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.51, allocations: 8.109 kB / 0.5453 GB, free: 2.367 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1)