Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001593/0.001593, allocations: 122.1 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.001788/0.001788, allocations: 202 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.541/1.541, allocations: 227.4 MB / 247 MB, free: 10.47 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.2259/0.2259, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.002262/0.002262, allocations: 83.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4089, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003128/0.4121, allocations: 1.681 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.4132, allocations: 0.5485 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.4133, allocations: 1.312 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.4136, allocations: 48.89 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.4139, allocations: 91.03 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.4143, allocations: 142.1 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.4145, allocations: 85.16 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4146, allocations: 18.44 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.4147, allocations: 33.03 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.4148, allocations: 39.94 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.4149, allocations: 3.938 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.415, allocations: 49.48 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.4151, allocations: 31.72 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.4151, allocations: 34.39 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.4154, allocations: 112.6 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4154, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4154, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.4154, allocations: 1.469 kB / 0.5335 GB, free: 11.24 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.0006645/0.4161, allocations: 422.5 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4161, allocations: 9.5 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.295e-05/0.4162, allocations: 44.11 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.4162, allocations: 14.39 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.4165, allocations: 201.8 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4166, allocations: 7.125 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4166, allocations: 11.06 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.4168, allocations: 63.48 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4168, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4168, allocations: 1.375 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4168, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.417, allocations: 51.27 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.4175, allocations: 297.7 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.4177, allocations: 55.3 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.4178, allocations: 29.38 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4179, allocations: 4 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.4179, allocations: 35.94 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4179, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001575/0.4195, allocations: 393.7 kB / 0.535 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.4196, allocations: 52.78 kB / 0.5351 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.4198, allocations: 185.4 kB / 0.5353 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4198, allocations: 27.27 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.4199, allocations: 104.5 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.4199, allocations: 48.95 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.42, allocations: 25.11 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4202, allocations: 326.8 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4203, allocations: 39 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4204, allocations: 47.19 kB / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.4207, allocations: 100.2 kB / 0.536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4207, allocations: 1.969 kB / 0.536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003551/0.4211, allocations: 144.8 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4211, allocations: 5.312 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4211, allocations: 1.094 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4212, allocations: 3.938 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.4213, allocations: 41.09 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4213, allocations: 0 / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.4214, allocations: 6.719 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4214, allocations: 7.266 kB / 0.5362 GB, free: 8.891 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.0001107/0.4215, allocations: 125.8 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.4216, allocations: 13.56 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.422, allocations: 157.1 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.422, allocations: 6.094 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.422, allocations: 3.938 kB / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.422, allocations: 0 / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/0.4228, allocations: 476.7 kB / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4228, allocations: 0 / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4229, allocations: 32.59 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4229, allocations: 1.094 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4229, allocations: 6.469 kB / 0.5369 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4229, allocations: 5.5 kB / 0.5369 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4229, allocations: 1.219 kB / 0.5369 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.4234, allocations: 250.9 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.4235, allocations: 93.12 kB / 0.5373 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.4235, allocations: 6.141 kB / 0.5373 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4236, allocations: 6.625 kB / 0.5373 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.4237, allocations: 12.02 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4237, allocations: 7.562 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.4238, allocations: 140.6 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4238, allocations: 3.938 kB / 0.5374 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.4241, allocations: 25.81 kB / 0.5375 GB, free: 7.766 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.002537/0.4267, allocations: 1.131 MB / 0.5386 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.4271, allocations: 114 kB / 0.5387 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4271, allocations: 5.094 kB / 0.5387 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4273, allocations: 58.31 kB / 0.5387 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.4277, allocations: 19.36 kB / 0.5388 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.4304, allocations: 1.793 MB / 0.5405 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.4309, allocations: 0.7113 MB / 0.5412 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.146e-05/0.431, allocations: 22.64 kB / 0.5412 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4311, allocations: 39.48 kB / 0.5413 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4311, allocations: 0 / 0.5413 GB, free: 4.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.4573, allocations: 3.337 MB / 0.5445 GB, free: 2.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.529, allocations: 10.16 kB / 0.5445 GB, free: 2.715 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1)