Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001399/0.001399, allocations: 118.2 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.001538/0.001538, allocations: 206 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.481/1.481, 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.259/0.259, allocations: 46.11 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.002341/0.002341, allocations: 71.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4051, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003384/0.4085, allocations: 1.618 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.4097, allocations: 0.5466 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.4098, allocations: 1.312 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.4101, allocations: 81.25 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.4104, allocations: 99.44 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.4108, allocations: 109.8 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.411, allocations: 88.86 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.4111, allocations: 16.42 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.4112, allocations: 35.81 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4113, allocations: 57.31 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.4113, allocations: 2.344 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.4114, allocations: 46.27 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.4115, allocations: 23.11 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.4115, allocations: 30.97 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.4117, allocations: 116.8 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4117, allocations: 0 / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4118, allocations: 0 / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4118, allocations: 0 / 0.5334 GB, free: 11.25 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.000662/0.4124, allocations: 419.5 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4125, allocations: 9.625 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.4125, allocations: 36.12 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.4126, allocations: 18.34 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.4128, allocations: 209.2 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4129, allocations: 1.75 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.4129, allocations: 1.75 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.4131, allocations: 59.36 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4131, allocations: 0 / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.4131, allocations: 1.375 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4131, allocations: 1.375 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.4132, allocations: 30.98 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.4137, allocations: 308.4 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.4138, allocations: 52.36 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.4139, allocations: 15.81 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.4139, allocations: 1.375 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.4139, allocations: 39.94 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4139, allocations: 0 / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009599/0.4149, allocations: 237.9 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.4149, allocations: 52.78 kB / 0.5348 GB, free: 9.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.4153, allocations: 223.2 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4153, allocations: 25.7 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.4154, allocations: 109.6 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.4155, allocations: 23.88 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.4155, allocations: 27.14 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4157, allocations: 322.8 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.106e-05/0.4158, allocations: 28.02 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.669e-05/0.4159, allocations: 33.53 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.4161, allocations: 77.41 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4161, allocations: 0 / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002915/0.4164, allocations: 118.2 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4165, allocations: 6.688 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.4165, allocations: 1.125 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4165, allocations: 0 / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.4166, allocations: 22.08 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.4166, allocations: 5.156 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.4167, allocations: 3.375 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.4167, allocations: 2.094 kB / 0.5358 GB, free: 9.035 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.0001201/0.4168, allocations: 135.9 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.4168, allocations: 13.47 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.4172, allocations: 126.1 kB / 0.5361 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4172, allocations: 5.094 kB / 0.5361 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4172, allocations: 8.938 kB / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4172, allocations: 0 / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.4179, allocations: 423.6 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4179, allocations: 1.219 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.418, allocations: 25.61 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.418, allocations: 1.156 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.418, allocations: 5.25 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.418, allocations: 1.031 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.418, allocations: 0 / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.4183, allocations: 213.8 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.4184, allocations: 91.7 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.4184, allocations: 1.125 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4185, allocations: 16.09 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.4186, allocations: 6.578 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.4186, allocations: 6.5 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.4188, allocations: 167.1 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4188, allocations: 1.406 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.4191, allocations: 17.88 kB / 0.537 GB, free: 7.961 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.003048/0.4221, allocations: 1.099 MB / 0.5381 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.4225, allocations: 74.83 kB / 0.5382 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4225, allocations: 0 / 0.5382 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4227, allocations: 43.81 kB / 0.5382 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.4232, allocations: 25.94 kB / 0.5383 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.4266, allocations: 1.716 MB / 0.5399 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.4272, allocations: 0.7089 MB / 0.5406 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.4273, allocations: 28.69 kB / 0.5406 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4274, allocations: 33.36 kB / 0.5407 GB, free: 4.82 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4274, allocations: 0 / 0.5407 GB, free: 4.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.4541, allocations: 3.161 MB / 0.5438 GB, free: 3.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.563, allocations: 19.41 kB / 0.5438 GB, free: 3.098 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1)