Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_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.001382/0.001382, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247 MB, free: 10.4 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.2292/0.2292, allocations: 46.12 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.002214/0.002214, allocations: 80.09 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3332, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003035/0.3363, allocations: 1.591 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3374, allocations: 0.5563 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.3374, allocations: 1.25 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.3377, allocations: 32.52 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.338, allocations: 76.45 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.3382, allocations: 94.55 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3384, allocations: 73.45 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.3385, allocations: 18.53 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.3386, allocations: 30.03 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.3386, allocations: 26.02 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3387, allocations: 8.719 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.3389, allocations: 104.5 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.3389, allocations: 16.45 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.339, allocations: 29.11 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3392, allocations: 151.8 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3392, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3393, allocations: 3.938 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3393, allocations: 3.938 kB / 0.5334 GB, free: 11.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005744/0.3398, allocations: 417.5 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3399, allocations: 13.62 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.3399, allocations: 32.12 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.34, allocations: 9.016 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.3402, allocations: 193.9 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.3402, allocations: 5.75 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.3403, allocations: 3.125 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3405, allocations: 69.03 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3405, allocations: 1.375 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3405, allocations: 7.984 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.3405, allocations: 1.375 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3406, allocations: 23.11 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.3411, allocations: 302.9 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3412, allocations: 63.23 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.3413, allocations: 29.34 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3413, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3414, allocations: 31.94 kB / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3414, allocations: 0 / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006828/0.3421, allocations: 190.6 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3421, allocations: 82.48 kB / 0.5348 GB, free: 9.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3423, allocations: 157.5 kB / 0.5349 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3424, allocations: 25.7 kB / 0.5349 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.3424, allocations: 100.2 kB / 0.535 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.3425, allocations: 22.55 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.3425, allocations: 25.95 kB / 0.5351 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3427, allocations: 320.2 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.322e-05/0.3428, allocations: 37.78 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.3429, allocations: 51.69 kB / 0.5355 GB, free: 9.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3431, allocations: 70.08 kB / 0.5355 GB, free: 9.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3431, allocations: 0 / 0.5355 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000243/0.3433, allocations: 115.9 kB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3433, allocations: 4.25 kB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3434, allocations: 8.953 kB / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3434, allocations: 1.156 kB / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3435, allocations: 18.48 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3435, allocations: 1.5 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.3436, allocations: 7.875 kB / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3436, allocations: 6.594 kB / 0.5357 GB, free: 9.047 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 (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 prepare postOptimizeDAE: time 9.788e-05/0.3437, allocations: 118.1 kB / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3438, allocations: 16.03 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3441, allocations: 117.7 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3441, allocations: 1.25 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3441, allocations: 1.219 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3441, allocations: 0 / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.3447, allocations: 399.3 kB / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3447, allocations: 0 / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.3448, allocations: 25.89 kB / 0.5364 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3448, allocations: 5.156 kB / 0.5364 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.3448, allocations: 7.875 kB / 0.5364 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3448, allocations: 1.062 kB / 0.5364 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3448, allocations: 0 / 0.5364 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3451, allocations: 195.9 kB / 0.5366 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.3451, allocations: 83.38 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.3452, allocations: 13.05 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.3453, allocations: 11.36 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.3453, allocations: 3.406 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.3453, allocations: 2.281 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3454, allocations: 117 kB / 0.5368 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 0 / 0.5368 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.3457, allocations: 46.64 kB / 0.5368 GB, free: 8.031 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 (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.002439/0.3482, allocations: 1.138 MB / 0.5379 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.3485, allocations: 72.17 kB / 0.538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3485, allocations: 0 / 0.538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3486, allocations: 37.62 kB / 0.538 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3491, allocations: 21.69 kB / 0.5381 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.3514, allocations: 1.55 MB / 0.5396 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.3519, allocations: 0.7044 MB / 0.5403 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.352, allocations: 28.38 kB / 0.5403 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.3521, allocations: 31.34 kB / 0.5403 GB, free: 4.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3521, allocations: 0 / 0.5403 GB, free: 4.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.3783, allocations: 3.56 MB / 0.5438 GB, free: 2.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.492, allocations: 6.422 kB / 0.5438 GB, free: 2.984 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1)