Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 117.2 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.001315/0.001315, allocations: 200.6 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.447/1.447, allocations: 227.4 MB / 247 MB, free: 10.44 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.2259/0.2259, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.002284/0.002284, allocations: 83.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.356, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003233/0.3593, allocations: 1.609 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.3603, allocations: 0.5491 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.3604, allocations: 3.125 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.3607, allocations: 126.1 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.3611, allocations: 121.5 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.3615, allocations: 115.4 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.3617, allocations: 99.72 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3618, allocations: 13.62 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.3619, allocations: 45.88 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.362, allocations: 90.53 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.362, allocations: 4.062 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3622, allocations: 48.66 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.3622, allocations: 27.02 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.3623, allocations: 39.59 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3625, allocations: 119.3 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3625, allocations: 4 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3625, allocations: 0 / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3626, allocations: 0 / 0.5336 GB, free: 11.2 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.0005674/0.3631, allocations: 445.2 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3632, allocations: 10.06 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.3632, allocations: 36.02 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.3633, allocations: 14.91 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.3635, allocations: 218 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3635, allocations: 5.719 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3635, allocations: 2.594 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3637, allocations: 66.95 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3637, allocations: 1.094 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3637, allocations: 4 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3637, allocations: 1.062 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3639, allocations: 23.7 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.3643, allocations: 313 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3644, allocations: 47.2 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.3645, allocations: 21.22 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.3645, allocations: 5.094 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3646, allocations: 35.56 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.3646, allocations: 0 / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009525/0.3655, allocations: 252.9 kB / 0.535 GB, free: 9.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.3656, allocations: 56.44 kB / 0.5351 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.3659, allocations: 278.9 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3659, allocations: 25.7 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.366, allocations: 112.4 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.366, allocations: 30.48 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3661, allocations: 20.67 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3662, allocations: 336.3 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.3663, allocations: 27.09 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-05/0.3664, allocations: 33.84 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.3666, allocations: 68.86 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3666, allocations: 1.062 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000244/0.3669, allocations: 117.6 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3669, allocations: 15.97 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3669, allocations: 1.156 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3669, allocations: 3.984 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.367, allocations: 13.84 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.367, allocations: 5.031 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3671, allocations: 7.172 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3671, allocations: 2.125 kB / 0.5361 GB, free: 8.91 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.0001223/0.3672, allocations: 134.2 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.3673, allocations: 18.91 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.3676, allocations: 140.4 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3676, allocations: 1.25 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3676, allocations: 7.938 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3676, allocations: 1.219 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.3683, allocations: 435.5 kB / 0.5368 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3683, allocations: 5.219 kB / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.3684, allocations: 21.33 kB / 0.5368 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3684, allocations: 1.547 kB / 0.5368 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3684, allocations: 1.281 kB / 0.5368 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3684, allocations: 0.9062 kB / 0.5368 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3684, allocations: 1.219 kB / 0.5368 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.3687, allocations: 222.2 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.3688, allocations: 92.2 kB / 0.5371 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3688, allocations: 9.062 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.3689, allocations: 7.281 kB / 0.5372 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.369, allocations: 8.172 kB / 0.5372 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.369, allocations: 2.188 kB / 0.5372 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.3692, allocations: 204.5 kB / 0.5374 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3692, allocations: 5.031 kB / 0.5374 GB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3695, allocations: 27.39 kB / 0.5374 GB, free: 7.809 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.002349/0.3719, allocations: 1.098 MB / 0.5385 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3722, allocations: 71.17 kB / 0.5385 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3722, allocations: 1.406 kB / 0.5385 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3723, allocations: 51.38 kB / 0.5386 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.3727, allocations: 19.05 kB / 0.5386 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.3751, allocations: 1.855 MB / 0.5404 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3755, allocations: 0.7289 MB / 0.5411 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.654e-05/0.3756, allocations: 17.47 kB / 0.5411 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.3757, allocations: 40.67 kB / 0.5412 GB, free: 4.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3757, allocations: 0 / 0.5412 GB, free: 4.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.4006, allocations: 3.454 MB / 0.5446 GB, free: 2.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.598, allocations: 18.08 kB / 0.5446 GB, free: 2.73 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1)