Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001368, 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.001396/0.001397, 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.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.45 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.2317/0.2317, allocations: 46.12 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.003112/0.003112, allocations: 71.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3877, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00371/0.3915, allocations: 1.606 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3925, allocations: 0.5402 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.3926, allocations: 1.25 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.3929, allocations: 118.9 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.3933, allocations: 134.6 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.3936, allocations: 95.5 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.3938, allocations: 93.19 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.394, allocations: 24.53 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.394, allocations: 45.86 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3942, allocations: 77.2 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3942, allocations: 7.047 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3943, allocations: 42.17 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.3944, allocations: 29.86 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.3945, allocations: 42.52 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3947, allocations: 123.6 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.3947, allocations: 0 / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3948, allocations: 0 / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3948, allocations: 1.375 kB / 0.5335 GB, free: 11.22 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.000648/0.3954, allocations: 448.7 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3955, allocations: 9.625 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.3955, allocations: 36.12 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.3956, allocations: 18.28 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3958, allocations: 215 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3958, allocations: 1.75 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3959, allocations: 1.75 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.396, allocations: 63.34 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3961, allocations: 3.984 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3961, allocations: 3.938 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3961, allocations: 1.375 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3962, allocations: 27.09 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.3966, allocations: 299.1 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3968, allocations: 47.09 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.3968, allocations: 21.09 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3968, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3969, allocations: 35.94 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3969, allocations: 4 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009261/0.3978, allocations: 240.3 kB / 0.5349 GB, free: 9.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3979, allocations: 52.78 kB / 0.535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.3982, allocations: 278.4 kB / 0.5353 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3982, allocations: 29.7 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.3983, allocations: 116.3 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.3983, allocations: 31.17 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.3984, allocations: 20.59 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3985, allocations: 326.8 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.3986, allocations: 21.42 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.3987, allocations: 26.59 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3989, allocations: 72.27 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3989, allocations: 0 / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002075/0.3991, allocations: 101.1 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3991, allocations: 5.656 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3991, allocations: 0 / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3992, allocations: 1.156 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.3993, allocations: 17.42 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3993, allocations: 9.031 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.3993, allocations: 11.33 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3993, allocations: 2.344 kB / 0.536 GB, free: 8.949 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.0001089/0.3995, allocations: 136.7 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.3995, allocations: 14.69 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.3998, allocations: 119.2 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3998, allocations: 1.219 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3998, allocations: 7.938 kB / 0.5363 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3998, allocations: 0 / 0.5363 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.4004, allocations: 423.7 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4004, allocations: 5.031 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.4005, allocations: 29.86 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4005, allocations: 1.125 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4005, allocations: 1.062 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4005, allocations: 5.062 kB / 0.5367 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4005, allocations: 1.219 kB / 0.5367 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.4008, allocations: 201.6 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.4008, allocations: 92.98 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.4009, allocations: 5.406 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.401, allocations: 11.56 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.401, allocations: 10.33 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.401, allocations: 6.672 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.4012, allocations: 209.7 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4012, allocations: 0 / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.4015, allocations: 18.38 kB / 0.5373 GB, free: 7.871 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.002157/0.4037, allocations: 1.094 MB / 0.5383 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.4039, allocations: 65.92 kB / 0.5384 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4039, allocations: 1.594 kB / 0.5384 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.186e-05/0.404, allocations: 40.84 kB / 0.5384 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4044, allocations: 28.22 kB / 0.5385 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4066, allocations: 1.799 MB / 0.5402 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.407, allocations: 0.7174 MB / 0.5409 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.977e-05/0.407, allocations: 19.52 kB / 0.5409 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.4071, allocations: 37.14 kB / 0.541 GB, free: 4.699 MB / 398.1 MB Notification: Performance of SimCode: time 2.124e-06/0.4071, allocations: 1.031 kB / 0.541 GB, free: 4.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.4328, allocations: 3.404 MB / 0.5443 GB, free: 2.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.509, allocations: 14.14 kB / 0.5443 GB, free: 2.859 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1)