Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.00143, allocations: 118.1 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001539, allocations: 198 kB / 18.73 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.497/1.497, 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.2355/0.2355, 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.002294/0.002294, allocations: 79.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3282, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002965/0.3312, allocations: 1.7 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3322, allocations: 0.5975 MB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.3323, allocations: 1.312 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.3325, allocations: 27.58 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.3328, allocations: 92.77 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.3333, allocations: 177.6 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3335, allocations: 93.41 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3336, allocations: 23.55 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.3337, allocations: 41.19 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3338, allocations: 49.33 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3338, allocations: 5.719 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.334, allocations: 95.06 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.3341, allocations: 26.75 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.3341, allocations: 44.86 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.3344, allocations: 173.9 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3345, allocations: 1.375 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3345, allocations: 0 / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3345, allocations: 0 / 0.5337 GB, free: 11.05 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.00069/0.3352, allocations: 450.5 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3352, allocations: 9.625 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.3353, allocations: 36.12 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.3353, allocations: 13.02 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3356, allocations: 215.5 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3356, allocations: 1.75 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3356, allocations: 3.125 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.3359, allocations: 96.17 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.336, allocations: 0 / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.336, allocations: 1.375 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.336, allocations: 4 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.3363, allocations: 75.78 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.3369, allocations: 343.4 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.3372, allocations: 76.91 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3374, allocations: 49.69 kB / 0.535 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3374, allocations: 1.375 kB / 0.535 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3374, allocations: 43.88 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3374, allocations: 0 / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001744/0.3392, allocations: 412.5 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.3393, allocations: 78.45 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3395, allocations: 164.4 kB / 0.5357 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3395, allocations: 30.73 kB / 0.5357 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.3396, allocations: 104.6 kB / 0.5358 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.3397, allocations: 27.38 kB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.3397, allocations: 33.77 kB / 0.5359 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3399, allocations: 322.1 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.3402, allocations: 78.17 kB / 0.5362 GB, free: 8.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.3406, allocations: 99.62 kB / 0.5363 GB, free: 8.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.3412, allocations: 168.9 kB / 0.5365 GB, free: 8.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3413, allocations: 0 / 0.5365 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007439/0.342, allocations: 209.5 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.342, allocations: 4.781 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.342, allocations: 0 / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3421, allocations: 0.9375 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.3423, allocations: 42.42 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3423, allocations: 5.25 kB / 0.5367 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3425, allocations: 28.8 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3425, allocations: 6.312 kB / 0.5368 GB, free: 8.449 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 (10): * Single equations (assignments): 10 * 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.0001413/0.3427, allocations: 128.5 kB / 0.5369 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.3427, allocations: 9.922 kB / 0.5369 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.3435, allocations: 224.3 kB / 0.5371 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3435, allocations: 1.625 kB / 0.5371 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3435, allocations: 7.875 kB / 0.5371 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3436, allocations: 3.984 kB / 0.5371 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.3447, allocations: 0.5179 MB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3447, allocations: 0 / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.3449, allocations: 40.64 kB / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3449, allocations: 0 / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3449, allocations: 5.125 kB / 0.5377 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3449, allocations: 1.031 kB / 0.5377 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3449, allocations: 4 kB / 0.5377 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.3457, allocations: 293.5 kB / 0.538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.3458, allocations: 104.4 kB / 0.5381 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3458, allocations: 1.188 kB / 0.5381 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.346, allocations: 25.7 kB / 0.5381 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.3461, allocations: 12.45 kB / 0.5381 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3461, allocations: 2.188 kB / 0.5381 GB, free: 7.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3462, allocations: 129.2 kB / 0.5382 GB, free: 7.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3462, allocations: 0 / 0.5382 GB, free: 7.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.3466, allocations: 53.45 kB / 0.5383 GB, free: 7.238 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 (9): * Single equations (assignments): 9 * 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.002787/0.3494, allocations: 1.232 MB / 0.5395 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007648/0.3502, allocations: 170 kB / 0.5396 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3502, allocations: 4 kB / 0.5396 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.3505, allocations: 89.66 kB / 0.5397 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.3509, allocations: 25.91 kB / 0.5398 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.3544, allocations: 1.945 MB / 0.5417 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3548, allocations: 0.7033 MB / 0.5423 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.3549, allocations: 33.98 kB / 0.5424 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.355, allocations: 39.81 kB / 0.5424 GB, free: 3.852 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.355, allocations: 3.938 kB / 0.5424 GB, free: 3.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.3811, allocations: 4.405 MB / 0.5467 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/8.718, allocations: 5.016 kB / 0.5467 GB, free: 0.9922 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1)