Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.001349, allocations: 202 kB / 18.74 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.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.5 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.2467/0.2467, 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.002309/0.002309, allocations: 87.78 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4026, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.004566/0.4072, allocations: 1.62 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.4087, allocations: 0.5351 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.4088, allocations: 4.875 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.4092, allocations: 74.08 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.4097, allocations: 101.9 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.4102, allocations: 95.12 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.4104, allocations: 83.84 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.4106, allocations: 20.83 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.4107, allocations: 35.77 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.4108, allocations: 46.72 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.4108, allocations: 3.844 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.411, allocations: 53.16 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.4111, allocations: 18.92 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.4112, allocations: 37.77 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.4115, allocations: 113.4 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4115, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4115, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4115, allocations: 1.156 kB / 0.5334 GB, free: 11.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007311/0.4122, allocations: 414.6 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4123, allocations: 10.81 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.4124, allocations: 38.69 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.4124, allocations: 14.09 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.4127, allocations: 209.2 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4128, allocations: 1.75 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.4128, allocations: 5.75 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.413, allocations: 59.36 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.413, allocations: 3.938 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4131, allocations: 1.375 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4131, allocations: 0 / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.4132, allocations: 23.11 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.4138, allocations: 298.9 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.4139, allocations: 43.06 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/0.414, allocations: 17.11 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4141, allocations: 0 / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.4141, allocations: 39.95 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 4.478e-06/0.4141, allocations: 3.984 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001154/0.4153, allocations: 229.8 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.4154, allocations: 52.78 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.4157, allocations: 211.2 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4157, allocations: 25.7 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.4158, allocations: 115 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.4159, allocations: 30.48 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.416, allocations: 19.22 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4162, allocations: 323 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4163, allocations: 29.73 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.988e-05/0.4164, allocations: 21.73 kB / 0.5355 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.4166, allocations: 64.45 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4166, allocations: 0 / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003334/0.417, allocations: 108.8 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.417, allocations: 5.469 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.417, allocations: 0 / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4171, allocations: 0 / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4172, allocations: 18.17 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4172, allocations: 5.188 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.4173, allocations: 2.219 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4174, allocations: 15.17 kB / 0.5357 GB, free: 9.098 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 (8): * Single equations (assignments): 8 * 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.0001503/0.4176, allocations: 124 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.4177, allocations: 13.25 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.4181, allocations: 123.8 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4181, allocations: 1.156 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.4181, allocations: 5.156 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4181, allocations: 0 / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007935/0.4189, allocations: 414.4 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.419, allocations: 1.031 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.4191, allocations: 17.84 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4191, allocations: 1.25 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.4191, allocations: 5.016 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.4191, allocations: 1.125 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4191, allocations: 5.125 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.4195, allocations: 203.7 kB / 0.5366 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.4196, allocations: 92.33 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.4197, allocations: 1.188 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.4198, allocations: 3.312 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.4198, allocations: 7.422 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.4199, allocations: 10.34 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.4201, allocations: 164.2 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4201, allocations: 0 / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.4206, allocations: 21.75 kB / 0.5369 GB, free: 8.055 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 (8): * Single equations (assignments): 8 * 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.003059/0.4236, allocations: 1.099 MB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.424, allocations: 65.88 kB / 0.538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.424, allocations: 0 / 0.538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.4241, allocations: 29.92 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/0.4247, allocations: 23.91 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.4278, allocations: 1.675 MB / 0.5397 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.4283, allocations: 0.7066 MB / 0.5404 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.573e-05/0.4284, allocations: 7.766 kB / 0.5404 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.4285, allocations: 34.36 kB / 0.5405 GB, free: 4.957 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4285, allocations: 0 / 0.5405 GB, free: 4.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.4598, allocations: 3.12 MB / 0.5435 GB, free: 3.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.496, allocations: 21.17 kB / 0.5435 GB, free: 3.25 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1)