Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001545, allocations: 197.2 kB / 18.73 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.456/1.456, 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.2193/0.2193, 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.002218/0.002218, allocations: 87.86 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3246, allocations: 62.43 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003074/0.3277, allocations: 1.751 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3294, allocations: 1.023 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.3295, allocations: 1.875 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.3299, allocations: 118.4 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3302, allocations: 125.1 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.3304, allocations: 82.92 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3306, allocations: 124.1 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3308, allocations: 20.17 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.3309, allocations: 64.44 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.331, allocations: 66.19 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.331, allocations: 4.125 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3311, allocations: 63.8 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.3312, allocations: 38.83 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.3313, allocations: 42.69 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3315, allocations: 159.4 kB / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.3316, allocations: 0 / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3316, allocations: 0 / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3316, allocations: 0 / 0.5343 GB, free: 10.65 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006373/0.3322, allocations: 471.5 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3323, allocations: 8.25 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.3323, allocations: 45.47 kB / 0.5348 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3324, allocations: 23.66 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.3327, allocations: 217.8 kB / 0.535 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3327, allocations: 1.75 kB / 0.535 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3327, allocations: 10.67 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3329, allocations: 68.7 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3329, allocations: 0 / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3329, allocations: 0 / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3329, allocations: 1.875 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.333, allocations: 32.91 kB / 0.5351 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.3335, allocations: 323.2 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.3338, allocations: 77.45 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.836e-05/0.3338, allocations: 24.62 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3339, allocations: 1.344 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.334, allocations: 79.84 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3341, allocations: 1 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008027/0.3349, allocations: 276.7 kB / 0.5359 GB, free: 9.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3349, allocations: 56.53 kB / 0.5359 GB, free: 9.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.3352, allocations: 254.7 kB / 0.5362 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3352, allocations: 31.08 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.3353, allocations: 111.4 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.3354, allocations: 50.06 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.3354, allocations: 22.97 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3356, allocations: 331.8 kB / 0.5367 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.3357, allocations: 37.77 kB / 0.5367 GB, free: 8.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3358, allocations: 53.02 kB / 0.5368 GB, free: 8.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.336, allocations: 89.34 kB / 0.5369 GB, free: 8.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.336, allocations: 5.406 kB / 0.5369 GB, free: 8.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002611/0.3363, allocations: 142.2 kB / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3363, allocations: 5.594 kB / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3363, allocations: 0 / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3363, allocations: 1.438 kB / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.3364, allocations: 31.33 kB / 0.537 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3364, allocations: 240 / 0.537 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.3365, allocations: 10.89 kB / 0.537 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3365, allocations: 7.047 kB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001356/0.3366, allocations: 144.7 kB / 0.5372 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3367, allocations: 19.92 kB / 0.5372 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.3367, allocations: 22.22 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3368, allocations: 5.438 kB / 0.5372 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3368, allocations: 4 kB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3368, allocations: 5.516 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.3374, allocations: 481.8 kB / 0.5377 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3375, allocations: 1.125 kB / 0.5377 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.3375, allocations: 13.84 kB / 0.5377 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3375, allocations: 1.062 kB / 0.5377 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3375, allocations: 5.969 kB / 0.5377 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3375, allocations: 2.188 kB / 0.5377 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3376, allocations: 1.062 kB / 0.5377 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.3379, allocations: 253.6 kB / 0.538 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.338, allocations: 89.61 kB / 0.5381 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.338, allocations: 10.36 kB / 0.5381 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.3381, allocations: 2.812 kB / 0.5381 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.3381, allocations: 16.91 kB / 0.5381 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3381, allocations: 8.875 kB / 0.5381 GB, free: 7.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.3383, allocations: 191.9 kB / 0.5383 GB, free: 7.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3383, allocations: 5.156 kB / 0.5383 GB, free: 7.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3386, allocations: 33.64 kB / 0.5383 GB, free: 7.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002421/0.341, allocations: 1.177 MB / 0.5395 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.3413, allocations: 87.12 kB / 0.5395 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3413, allocations: 1.281 kB / 0.5395 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3414, allocations: 45.52 kB / 0.5396 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3418, allocations: 48.78 kB / 0.5396 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.344, allocations: 1.952 MB / 0.5415 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3444, allocations: 0.7203 MB / 0.5422 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.904e-05/0.3445, allocations: 27.34 kB / 0.5423 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.3446, allocations: 54.41 kB / 0.5423 GB, free: 3.773 MB / 398.1 MB Notification: Performance of SimCode: time 3.777e-06/0.3446, allocations: 0 / 0.5423 GB, free: 3.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.3712, allocations: 4.204 MB / 0.5464 GB, free: 1.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.512, allocations: 8.812 kB / 0.5464 GB, free: 1.355 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)