Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 121.8 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.001667/0.001667, allocations: 201.2 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.542/1.542, allocations: 227.4 MB / 247 MB, free: 10.41 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.2353/0.2353, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002202/0.002203, allocations: 79.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4186, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003393/0.422, allocations: 1.602 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.4239, allocations: 1.171 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.424, allocations: 0 / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.4243, allocations: 20.48 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.4246, allocations: 85.67 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.425, allocations: 114.9 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.4251, allocations: 62.33 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4253, allocations: 11.19 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.802e-05/0.4253, allocations: 34.59 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.4255, allocations: 30.58 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.4255, allocations: 3.562 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.4257, allocations: 104.2 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.4258, allocations: 22.59 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.4258, allocations: 17.38 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.4261, allocations: 142.1 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4261, allocations: 1.375 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4261, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.4261, allocations: 0 / 0.534 GB, free: 10.8 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.0005523/0.4267, allocations: 403.5 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.4267, allocations: 9.625 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.4268, allocations: 36.12 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.4268, allocations: 7.641 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.427, allocations: 197.8 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.427, allocations: 5.75 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4271, allocations: 5.734 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.4272, allocations: 65.09 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4272, allocations: 3.984 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.4273, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4273, allocations: 4 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.4274, allocations: 29.66 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.4278, allocations: 284.2 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.428, allocations: 44.44 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.4281, allocations: 17.19 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.4281, allocations: 4 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4282, allocations: 39.88 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 4.498e-06/0.4282, allocations: 0 / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005681/0.4288, allocations: 146 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.4288, allocations: 78.48 kB / 0.5353 GB, free: 9.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.429, allocations: 152.8 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.429, allocations: 29.7 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.4291, allocations: 94.81 kB / 0.5355 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.4291, allocations: 18.61 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.4292, allocations: 23.2 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4293, allocations: 320.2 kB / 0.5359 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.4294, allocations: 20.36 kB / 0.5359 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.4295, allocations: 39.53 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.4297, allocations: 55.98 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4297, allocations: 0 / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002042/0.4299, allocations: 87.23 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4299, allocations: 5.375 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.4299, allocations: 3.938 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4299, allocations: 1.094 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.43, allocations: 17.3 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.43, allocations: 1.156 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.4301, allocations: 7.25 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.4301, allocations: 0.9062 kB / 0.5361 GB, free: 8.68 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.0001009/0.4302, allocations: 114.9 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.4303, allocations: 8.203 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.4305, allocations: 103.2 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4305, allocations: 1.125 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4306, allocations: 3.938 kB / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4306, allocations: 5 kB / 0.5363 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.431, allocations: 355.6 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4311, allocations: 0 / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.4311, allocations: 17.3 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4311, allocations: 1.062 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.4311, allocations: 9.156 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4312, allocations: 192 / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4312, allocations: 4 kB / 0.5367 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.4314, allocations: 182.9 kB / 0.5369 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.4315, allocations: 83.22 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.4315, allocations: 13.02 kB / 0.537 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.4316, allocations: 3.375 kB / 0.537 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.4317, allocations: 6.219 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.4317, allocations: 1.125 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.4318, allocations: 117.1 kB / 0.5371 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4318, allocations: 3.938 kB / 0.5371 GB, free: 7.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.4321, allocations: 40.42 kB / 0.5371 GB, free: 7.711 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.002189/0.4343, allocations: 1.105 MB / 0.5382 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.4345, allocations: 58.67 kB / 0.5383 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4345, allocations: 1.656 kB / 0.5383 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.4346, allocations: 28.02 kB / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.435, allocations: 18.11 kB / 0.5383 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.4367, allocations: 1.441 MB / 0.5397 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.4371, allocations: 0.6937 MB / 0.5404 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.698e-05/0.4372, allocations: 35.06 kB / 0.5404 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.4372, allocations: 30.48 kB / 0.5405 GB, free: 4.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4373, allocations: 4 kB / 0.5405 GB, free: 4.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.4651, allocations: 3.249 MB / 0.5436 GB, free: 2.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.423, allocations: 3.312 kB / 0.5436 GB, free: 2.875 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1)