Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001773, allocations: 205.2 kB / 18.74 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.475/1.475, 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.2309/0.2309, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002252/0.002253, allocations: 79.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3434, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002966/0.3464, allocations: 1.624 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3475, allocations: 0.5361 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.3475, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.3479, allocations: 94.2 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.3482, allocations: 111.8 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.3485, allocations: 96.25 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3487, allocations: 83.05 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3488, allocations: 16.45 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.3489, allocations: 35.77 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.349, allocations: 52.7 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.349, allocations: 6.688 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3491, allocations: 48.86 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.3492, allocations: 20.17 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.3493, allocations: 42.55 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.3495, allocations: 107.1 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3495, allocations: 3.938 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.3495, allocations: 3.984 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3496, allocations: 0 / 0.5334 GB, free: 11.28 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.0006247/0.3502, allocations: 416.9 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3502, allocations: 9.625 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.3503, allocations: 40.06 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.3504, allocations: 18.33 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.3506, allocations: 200.6 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3506, allocations: 1.75 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.3507, allocations: 11.08 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3509, allocations: 53.98 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3509, allocations: 1.375 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3509, allocations: 0 / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3509, allocations: 1.375 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.351, allocations: 39.03 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.3515, allocations: 296.2 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3516, allocations: 43.06 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.3517, allocations: 19.8 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3517, allocations: 1.375 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.3518, allocations: 43.88 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3518, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009628/0.3528, allocations: 221.6 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.3528, allocations: 60.5 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.3531, allocations: 234.5 kB / 0.5351 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3532, allocations: 26.92 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.3532, allocations: 110.5 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.3533, allocations: 30.33 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.3533, allocations: 19.59 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3535, allocations: 327.2 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.3536, allocations: 25.84 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.3537, allocations: 29.95 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3538, allocations: 60.58 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3539, allocations: 0 / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002202/0.3541, allocations: 103.9 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3541, allocations: 5.594 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3541, allocations: 0 / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3541, allocations: 1.188 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3542, allocations: 25.64 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3543, allocations: 5.062 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.3543, allocations: 7.578 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3543, allocations: 5.156 kB / 0.5358 GB, free: 9.074 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.0001012/0.3544, allocations: 125.7 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.3545, allocations: 9.922 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.3548, allocations: 133.8 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3548, allocations: 1.312 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3548, allocations: 3.938 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3548, allocations: 0 / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.3554, allocations: 401.2 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3554, allocations: 0 / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.3555, allocations: 26.23 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3555, allocations: 5.562 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.3555, allocations: 1.375 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3555, allocations: 3.938 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3555, allocations: 1.375 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3558, allocations: 203.8 kB / 0.5367 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.3559, allocations: 88.69 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3559, allocations: 13.09 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.356, allocations: 8.109 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.356, allocations: 3.062 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.356, allocations: 6.391 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.3562, allocations: 179.8 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.3565, allocations: 22.61 kB / 0.537 GB, free: 8.023 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.002427/0.359, allocations: 1.093 MB / 0.5381 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3592, allocations: 62.03 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3592, allocations: 1.219 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.3593, allocations: 37.88 kB / 0.5382 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3597, allocations: 21.55 kB / 0.5382 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.3621, allocations: 1.723 MB / 0.5399 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3624, allocations: 0.7126 MB / 0.5406 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.063e-05/0.3625, allocations: 16.36 kB / 0.5406 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.3626, allocations: 37.45 kB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3626, allocations: 0 / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.3908, allocations: 3.197 MB / 0.5437 GB, free: 3.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.5, allocations: 11.56 kB / 0.5437 GB, free: 3.156 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1)