Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001358, allocations: 117.6 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.002202/0.002202, allocations: 204.7 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.516/1.516, 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.2342/0.2342, 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.002258/0.002258, allocations: 79.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3388, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002918/0.3418, allocations: 1.65 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000943/0.3427, allocations: 0.53 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.3428, allocations: 4.781 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.3431, allocations: 45.34 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.3433, allocations: 82.77 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.3436, allocations: 88.27 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.3438, allocations: 94.12 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3439, allocations: 26.98 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.344, allocations: 28.23 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3441, allocations: 44.14 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3441, allocations: 5.5 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.3442, allocations: 46.17 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.3443, allocations: 22.78 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.3443, allocations: 34.62 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3445, allocations: 110.7 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3445, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3445, allocations: 5.344 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3446, 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000571/0.3451, allocations: 410.2 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3452, allocations: 9.688 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.3452, allocations: 39.81 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.3453, allocations: 13.88 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.3455, allocations: 195 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3455, allocations: 6.969 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3455, allocations: 4.188 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3457, allocations: 78.09 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3457, allocations: 0 / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3458, allocations: 1.125 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3458, allocations: 1.312 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3459, allocations: 45.75 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.3464, allocations: 319 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3465, allocations: 74.05 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.3466, allocations: 19.92 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3466, allocations: 5.141 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3466, allocations: 35.73 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3467, allocations: 5.125 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001046/0.3477, allocations: 302.1 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3478, allocations: 52.62 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3479, allocations: 166.7 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.348, allocations: 25.7 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.348, allocations: 104.8 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.3481, allocations: 48.66 kB / 0.5352 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.3482, allocations: 31.39 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3483, allocations: 325 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.3484, allocations: 32.52 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.3485, allocations: 40.59 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3487, allocations: 93.58 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3487, allocations: 4 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002553/0.349, allocations: 126.1 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.349, allocations: 8.062 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.349, allocations: 1.375 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.349, allocations: 3.938 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3491, allocations: 29.92 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3492, allocations: 0 / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.3492, allocations: 12.11 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3492, allocations: 6.75 kB / 0.5359 GB, free: 8.988 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 9.854e-05/0.3493, allocations: 120.7 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.3494, allocations: 17.34 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.3497, allocations: 160.2 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3498, allocations: 1.344 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3498, allocations: 0 / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3498, allocations: 0 / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.3504, allocations: 477.3 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3504, allocations: 0 / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.3505, allocations: 33.06 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3506, allocations: 1.062 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3506, allocations: 6.125 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3506, allocations: 5.188 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3506, allocations: 0 / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.3509, allocations: 234.2 kB / 0.5369 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.351, allocations: 91.66 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.351, allocations: 2.25 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.3511, allocations: 2.688 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.3511, allocations: 13.77 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3512, allocations: 7.281 kB / 0.5371 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3513, allocations: 128 kB / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3513, allocations: 0 / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3516, allocations: 20.88 kB / 0.5372 GB, free: 7.898 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.002231/0.3538, allocations: 1.122 MB / 0.5383 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.3541, allocations: 97.23 kB / 0.5384 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3541, allocations: 0 / 0.5384 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3542, allocations: 60.38 kB / 0.5384 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3546, allocations: 29.09 kB / 0.5385 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.3567, allocations: 1.674 MB / 0.5401 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.357, allocations: 0.7069 MB / 0.5408 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.676e-05/0.3571, allocations: 15.7 kB / 0.5408 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.3572, allocations: 36.36 kB / 0.5408 GB, free: 4.742 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3572, allocations: 0 / 0.5408 GB, free: 4.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.3817, allocations: 3.203 MB / 0.544 GB, free: 3.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.468, allocations: 15.3 kB / 0.544 GB, free: 3 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1)