Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, 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.001327/0.001327, 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.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.46 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.2308/0.2308, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.002237/0.002237, allocations: 76.11 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3386, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003238/0.3419, allocations: 1.65 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3429, allocations: 0.5387 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.343, allocations: 1.312 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.3433, allocations: 94.02 kB / 0.5329 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.3436, allocations: 118.7 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.344, allocations: 99.81 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.3442, allocations: 94.45 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3443, allocations: 27.52 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.3444, allocations: 45.28 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3445, allocations: 61.12 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3445, allocations: 4.656 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3446, allocations: 46.67 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.3447, allocations: 33.55 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.3448, allocations: 40.31 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.3451, allocations: 129.5 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3451, allocations: 0 / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3451, allocations: 1.5 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3451, allocations: 0 / 0.5335 GB, free: 11.21 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006493/0.3457, allocations: 437 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3458, allocations: 9.625 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.3459, allocations: 36.12 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.3459, allocations: 19.72 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3461, allocations: 213.8 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3462, allocations: 7.125 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.3462, allocations: 4.5 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3464, allocations: 80.67 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3464, allocations: 7.938 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3464, allocations: 1.375 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3464, allocations: 5.375 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.3466, allocations: 41.95 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.347, allocations: 332.5 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3472, allocations: 58.06 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.3473, allocations: 23.84 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3473, allocations: 5.375 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3473, allocations: 35.92 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3473, allocations: 0 / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001081/0.3484, allocations: 316.7 kB / 0.5351 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.3485, allocations: 52.78 kB / 0.5351 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3488, allocations: 239.1 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3488, allocations: 30.92 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.3489, allocations: 118.5 kB / 0.5355 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.3489, allocations: 40.31 kB / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.349, allocations: 30.89 kB / 0.5356 GB, free: 9.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3492, allocations: 327.8 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/0.3493, allocations: 35.31 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.3494, allocations: 36.42 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.3496, allocations: 89.73 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3496, allocations: 0 / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002836/0.3499, allocations: 139.2 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3499, allocations: 17.45 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3499, allocations: 0 / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3499, allocations: 5.156 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3501, allocations: 29.52 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3501, allocations: 0 / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.3501, allocations: 3.594 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3502, allocations: 3.656 kB / 0.5362 GB, free: 8.828 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 (13): * Single equations (assignments): 13 * 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.000113/0.3503, allocations: 134.8 kB / 0.5364 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.3503, allocations: 18.59 kB / 0.5364 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.3507, allocations: 166.9 kB / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3507, allocations: 2.344 kB / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3507, allocations: 3.984 kB / 0.5366 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3507, allocations: 0 / 0.5366 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.3514, allocations: 482.9 kB / 0.537 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3514, allocations: 4.031 kB / 0.537 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.3515, allocations: 28.83 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3515, allocations: 1.281 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3515, allocations: 6.141 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3515, allocations: 0.9688 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3515, allocations: 1.25 kB / 0.5371 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.3519, allocations: 246.8 kB / 0.5373 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.3519, allocations: 88.7 kB / 0.5374 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.352, allocations: 9.578 kB / 0.5374 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.352, allocations: 3.812 kB / 0.5374 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.3521, allocations: 8.172 kB / 0.5374 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3521, allocations: 8.25 kB / 0.5374 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.3523, allocations: 178.2 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3523, allocations: 0 / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3525, allocations: 27.59 kB / 0.5376 GB, free: 7.691 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 (13): * Single equations (assignments): 13 * 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.002245/0.3548, allocations: 1.122 MB / 0.5387 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.355, allocations: 93.55 kB / 0.5388 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3551, allocations: 0 / 0.5388 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3552, allocations: 61.28 kB / 0.5388 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3556, allocations: 27.67 kB / 0.5389 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.3579, allocations: 1.847 MB / 0.5407 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.3583, allocations: 0.7223 MB / 0.5414 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.997e-05/0.3584, allocations: 23.59 kB / 0.5414 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.3585, allocations: 43.14 kB / 0.5414 GB, free: 4.453 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3585, allocations: 0 / 0.5414 GB, free: 4.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.384, allocations: 3.538 MB / 0.5449 GB, free: 2.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.587, allocations: 7.047 kB / 0.5449 GB, free: 2.559 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1)