Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.001467/0.001467, allocations: 118.8 kB / 17.79 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.00136/0.00136, allocations: 198 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.463/1.463, 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.2312/0.2312, 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.002174/0.002174, allocations: 84.38 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3522, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003122/0.3553, allocations: 1.598 MB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3572, allocations: 1.161 MB / 0.5333 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.3573, allocations: 0 / 0.5333 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.3575, allocations: 20.94 kB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.3578, allocations: 85.64 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.3581, allocations: 95.72 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3583, allocations: 73.22 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3584, allocations: 11.66 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3585, allocations: 24.83 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.3587, allocations: 34.55 kB / 0.5336 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3587, allocations: 4.312 kB / 0.5336 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.3589, allocations: 98.78 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.359, allocations: 15.05 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.3591, allocations: 24.34 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.3594, allocations: 139 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3594, allocations: 4 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3594, allocations: 0 / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3594, allocations: 5.375 kB / 0.5339 GB, free: 10.71 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.0006196/0.36, allocations: 399.5 kB / 0.5343 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3601, allocations: 9.625 kB / 0.5343 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.3601, allocations: 30.75 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.3602, allocations: 13 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3604, allocations: 192.5 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3604, allocations: 5.734 kB / 0.5345 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3605, allocations: 3.125 kB / 0.5345 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3607, allocations: 67.72 kB / 0.5346 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3607, allocations: 3.938 kB / 0.5346 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3607, allocations: 3.938 kB / 0.5346 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3607, allocations: 1.375 kB / 0.5346 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.328e-05/0.3608, allocations: 24.34 kB / 0.5346 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3612, allocations: 276.1 kB / 0.5349 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.3614, allocations: 50.98 kB / 0.535 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.3615, allocations: 19.81 kB / 0.535 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3615, allocations: 1.375 kB / 0.535 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3615, allocations: 34.56 kB / 0.535 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.3615, allocations: 1.375 kB / 0.535 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000549/0.3621, allocations: 140.5 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3622, allocations: 82.48 kB / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.3623, allocations: 145.3 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3623, allocations: 27.08 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.3624, allocations: 94.83 kB / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3624, allocations: 18.59 kB / 0.5355 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.3625, allocations: 17.84 kB / 0.5355 GB, free: 9.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3626, allocations: 329.5 kB / 0.5358 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.3627, allocations: 17.61 kB / 0.5358 GB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.3628, allocations: 31.45 kB / 0.5359 GB, free: 8.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3629, allocations: 42.83 kB / 0.5359 GB, free: 8.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.363, allocations: 5.312 kB / 0.5359 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.3632, allocations: 87.84 kB / 0.536 GB, free: 8.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3632, allocations: 7.688 kB / 0.536 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3632, allocations: 0 / 0.536 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3632, allocations: 1.375 kB / 0.536 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.3633, allocations: 13.61 kB / 0.536 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3633, allocations: 0 / 0.536 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.3633, allocations: 8.062 kB / 0.536 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3634, allocations: 1.375 kB / 0.536 GB, free: 8.617 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 0.0001004/0.3635, allocations: 122 kB / 0.5361 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.3635, allocations: 6.703 kB / 0.5362 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.3638, allocations: 92.97 kB / 0.5362 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3638, allocations: 1.125 kB / 0.5362 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3638, allocations: 0 / 0.5362 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3638, allocations: 5.094 kB / 0.5362 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.3643, allocations: 354.1 kB / 0.5366 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3643, allocations: 4.891 kB / 0.5366 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.3644, allocations: 13.44 kB / 0.5366 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3644, allocations: 0 / 0.5366 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3644, allocations: 4.906 kB / 0.5366 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3644, allocations: 0.8125 kB / 0.5366 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3644, allocations: 1 kB / 0.5366 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.3646, allocations: 179.6 kB / 0.5368 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.3647, allocations: 82.34 kB / 0.5369 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3647, allocations: 4.875 kB / 0.5369 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.3648, allocations: 12.33 kB / 0.5369 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.3649, allocations: 1.156 kB / 0.5369 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3649, allocations: 1.5 kB / 0.5369 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.365, allocations: 114.6 kB / 0.537 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.365, allocations: 0 / 0.537 GB, free: 7.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.3653, allocations: 39.48 kB / 0.537 GB, free: 7.664 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.002449/0.3677, allocations: 1.104 MB / 0.5381 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.3679, allocations: 52.69 kB / 0.5382 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.368, allocations: 0 / 0.5382 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.368, allocations: 31.92 kB / 0.5382 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3684, allocations: 24.75 kB / 0.5382 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.3703, allocations: 1.429 MB / 0.5396 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.3708, allocations: 0.6931 MB / 0.5403 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.723e-05/0.3708, allocations: 19.06 kB / 0.5403 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.3709, allocations: 34.19 kB / 0.5403 GB, free: 4.691 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3709, allocations: 0 / 0.5403 GB, free: 4.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.3981, allocations: 3.218 MB / 0.5435 GB, free: 2.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.494, allocations: 8.547 kB / 0.5435 GB, free: 2.852 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1)