Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001862/0.001862, 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.002048/0.002048, 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.429/1.429, 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.2191/0.2191, allocations: 46.1 MB / 344.4 MB, free: 11.47 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.002188/0.002188, allocations: 71.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.315, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003134/0.3182, allocations: 1.625 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3192, allocations: 0.5332 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.3193, allocations: 0 / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3196, allocations: 83.83 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3199, allocations: 103.6 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.3202, allocations: 92.52 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.3203, allocations: 87.48 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.3204, allocations: 12.25 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.6e-05/0.3205, allocations: 36.48 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3206, allocations: 63.38 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3207, allocations: 2.938 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3208, allocations: 45.73 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.3208, allocations: 15.5 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.3209, allocations: 41.09 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.3211, allocations: 105.2 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3211, allocations: 3.938 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3211, allocations: 1.531 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3211, allocations: 0 / 0.5334 GB, free: 11.3 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.0005046/0.3216, allocations: 422.4 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3217, allocations: 9.781 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.3217, allocations: 31.84 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.3217, allocations: 14.44 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.322, allocations: 207.8 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.322, allocations: 2.562 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.322, allocations: 10.61 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3221, allocations: 54.2 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3222, allocations: 0 / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3222, allocations: 5.094 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3222, allocations: 5.125 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.556e-05/0.3223, allocations: 30.62 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.3227, allocations: 295.5 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.3228, allocations: 42.91 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.3229, allocations: 12.14 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3229, allocations: 9.266 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3229, allocations: 36.06 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3229, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008396/0.3238, allocations: 225.6 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3238, allocations: 56.66 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.324, allocations: 214.3 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3241, allocations: 27.08 kB / 0.535 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.3241, allocations: 109.6 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.3242, allocations: 26.48 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.3242, allocations: 23.3 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3244, allocations: 323 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.3244, allocations: 29.72 kB / 0.5355 GB, free: 9.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.3245, allocations: 31.09 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3247, allocations: 55.33 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3247, allocations: 3.984 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002126/0.3249, allocations: 100.2 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.325, allocations: 9.5 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.325, allocations: 0 / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.325, allocations: 1.375 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.3251, allocations: 17.73 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3251, allocations: 3.938 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.3252, allocations: 12.11 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.3252, allocations: 1.375 kB / 0.5357 GB, free: 9.113 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.0001144/0.3253, allocations: 120.8 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.3253, allocations: 17.34 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.3256, allocations: 124.4 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3257, allocations: 5.312 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3257, allocations: 3.938 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.3257, allocations: 3.984 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.3262, allocations: 402.9 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3262, allocations: 5.516 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.3263, allocations: 20.89 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3263, allocations: 2.031 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3264, allocations: 5.094 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3264, allocations: 1.094 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3264, allocations: 0 / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3267, allocations: 208.3 kB / 0.5366 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.3267, allocations: 96.66 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3267, allocations: 1.344 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.3268, allocations: 7.906 kB / 0.5367 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3269, allocations: 10.73 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3269, allocations: 3.219 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.3271, allocations: 162.7 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3271, allocations: 0 / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3273, allocations: 26.11 kB / 0.5369 GB, free: 8.059 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.002252/0.3296, allocations: 1.09 MB / 0.538 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3299, allocations: 57.97 kB / 0.538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3299, allocations: 0 / 0.538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.33, allocations: 41.47 kB / 0.5381 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3304, allocations: 16.59 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.3326, allocations: 1.676 MB / 0.5397 GB, free: 5.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.333, allocations: 0.7025 MB / 0.5404 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.635e-05/0.3331, allocations: 21.05 kB / 0.5404 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.3331, allocations: 36.81 kB / 0.5405 GB, free: 4.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3331, allocations: 0 / 0.5405 GB, free: 4.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.3583, allocations: 3.11 MB / 0.5435 GB, free: 3.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.483, allocations: 14.12 kB / 0.5435 GB, free: 3.266 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1)