Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 122.2 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.001345/0.001345, 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.487/1.487, 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.2705/0.2705, allocations: 46.11 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.002351/0.002351, allocations: 84.08 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4112, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002919/0.4142, allocations: 1.599 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.4151, allocations: 0.5306 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.4152, allocations: 0 / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.4154, allocations: 24.8 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.4157, allocations: 79.42 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.416, allocations: 87.67 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.4161, allocations: 65.3 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.4162, allocations: 11.67 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.4163, allocations: 19.25 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.4163, allocations: 22.48 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.4163, allocations: 2.594 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.4164, allocations: 44.53 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.4165, allocations: 16.33 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.4165, allocations: 23.22 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.4167, allocations: 82.91 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4167, allocations: 1.406 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4167, allocations: 0 / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.4167, allocations: 0 / 0.5332 GB, free: 11.41 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.0004987/0.4172, allocations: 383.6 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4173, allocations: 9.688 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.4173, allocations: 35.91 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.4174, allocations: 8.484 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.4176, allocations: 195 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.4176, allocations: 5.5 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4176, allocations: 2.781 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4177, allocations: 51.45 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4178, allocations: 1.312 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.4178, allocations: 4 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4178, allocations: 1.219 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.4179, allocations: 20.86 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.4182, allocations: 279.5 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.4184, allocations: 43.72 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.4185, allocations: 19.03 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.4185, allocations: 0 / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4185, allocations: 36.36 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.036e-06/0.4186, allocations: 4 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005361/0.4191, allocations: 142 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.4191, allocations: 51.41 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.4193, allocations: 155.7 kB / 0.5345 GB, free: 9.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4193, allocations: 25.7 kB / 0.5346 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.4194, allocations: 96.78 kB / 0.5347 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.4194, allocations: 25.22 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.4195, allocations: 13.84 kB / 0.5347 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4196, allocations: 325.5 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.4197, allocations: 17.61 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.4198, allocations: 18.98 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.4199, allocations: 52.33 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4199, allocations: 4 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001901/0.4201, allocations: 81.25 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4202, allocations: 5.5 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4202, allocations: 0 / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4202, allocations: 1.375 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.4203, allocations: 13.61 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.4203, allocations: 3.938 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.4203, allocations: 2.75 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4203, allocations: 5.312 kB / 0.5352 GB, free: 9.387 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 9.607e-05/0.4204, allocations: 127.3 kB / 0.5353 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.4205, allocations: 6.703 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.4207, allocations: 89.59 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4207, allocations: 1.375 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4207, allocations: 0 / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4207, allocations: 1.375 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.4212, allocations: 350.4 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4212, allocations: 0 / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.4213, allocations: 9.625 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.4213, allocations: 3.984 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4213, allocations: 5.375 kB / 0.5358 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4213, allocations: 4.125 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4213, allocations: 1.375 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.4215, allocations: 179.1 kB / 0.5359 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.4216, allocations: 86.38 kB / 0.536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4216, allocations: 9.297 kB / 0.536 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.4217, allocations: 6.688 kB / 0.536 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.4217, allocations: 2.75 kB / 0.536 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4217, allocations: 1.375 kB / 0.5361 GB, free: 8.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.21e-05/0.4218, allocations: 120.5 kB / 0.5362 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4219, allocations: 0 / 0.5362 GB, free: 8.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.4221, allocations: 21.56 kB / 0.5362 GB, free: 8.441 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.001889/0.424, allocations: 0.9998 MB / 0.5372 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.4242, allocations: 51.34 kB / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4242, allocations: 0 / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.4243, allocations: 23.27 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.4247, allocations: 26.47 kB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.4264, allocations: 1.439 MB / 0.5387 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4267, allocations: 0.7028 MB / 0.5394 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.4268, allocations: 12.41 kB / 0.5394 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.4268, allocations: 25.05 kB / 0.5394 GB, free: 5.523 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4268, allocations: 0 / 0.5394 GB, free: 5.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.451, allocations: 2.544 MB / 0.5419 GB, free: 4.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.572, allocations: 9.344 kB / 0.5419 GB, free: 4.098 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1)