Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, 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.001309/0.001309, allocations: 206 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.444/1.444, 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.2356/0.2356, allocations: 46.11 MB / 344.3 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.002414/0.002414, allocations: 75.88 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3625, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003155/0.3657, allocations: 1.729 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.3682, allocations: 1.63 MB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.3683, allocations: 1.375 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3686, allocations: 39.95 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.3689, allocations: 96.42 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3691, allocations: 74.97 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3693, allocations: 106.3 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3694, allocations: 14.86 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.3695, allocations: 52.28 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3697, allocations: 42.89 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3697, allocations: 5.5 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3699, allocations: 115 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.37, allocations: 16.05 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.3701, allocations: 28.06 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.3704, allocations: 170.3 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3704, allocations: 0 / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3704, allocations: 1.375 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3704, allocations: 0 / 0.5347 GB, free: 10.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007338/0.3711, allocations: 442.1 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3712, allocations: 9.625 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.3712, allocations: 32.12 kB / 0.5352 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3713, allocations: 16.91 kB / 0.5352 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.3716, allocations: 214.6 kB / 0.5354 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3716, allocations: 5.359 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3717, allocations: 2.75 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3719, allocations: 82.44 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3719, allocations: 0 / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3719, allocations: 0 / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3719, allocations: 1.375 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.507e-05/0.372, allocations: 18.83 kB / 0.5355 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3724, allocations: 280.9 kB / 0.5358 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3726, allocations: 66.33 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.3727, allocations: 21.97 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3727, allocations: 0 / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.3729, allocations: 69.95 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.477e-06/0.3729, allocations: 0 / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005669/0.3735, allocations: 181.5 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.3735, allocations: 86.11 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3737, allocations: 165.1 kB / 0.5363 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3738, allocations: 26.86 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.3738, allocations: 96.83 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.3739, allocations: 31.23 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3739, allocations: 20.5 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3741, allocations: 322.2 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.3741, allocations: 22.89 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.748e-05/0.3742, allocations: 49.41 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3744, allocations: 63.2 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3744, allocations: 0 / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.3746, allocations: 99.31 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3746, allocations: 5.656 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3746, allocations: 0 / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3746, allocations: 5.281 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.3747, allocations: 20.52 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-06/0.3747, allocations: 1.125 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.3748, allocations: 6.375 kB / 0.5371 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-06/0.3748, allocations: 3.188 kB / 0.5371 GB, free: 8.008 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 (10): * Single equations (assignments): 10 * 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.0001074/0.3749, allocations: 124 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3749, allocations: 9.266 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.375, allocations: 12.44 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.375, allocations: 13.03 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.375, allocations: 1.031 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.375, allocations: 0 / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.3755, allocations: 396.5 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3755, allocations: 5.188 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3756, allocations: 11.83 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3756, allocations: 0 / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.3756, allocations: 1.656 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3756, allocations: 1.719 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3756, allocations: 5.344 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3759, allocations: 203.2 kB / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.3759, allocations: 96.08 kB / 0.5379 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.376, allocations: 6.219 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.376, allocations: 2.125 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.3761, allocations: 11.14 kB / 0.5379 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3761, allocations: 7.5 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3762, allocations: 127.7 kB / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3762, allocations: 0 / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.3766, allocations: 46.27 kB / 0.5381 GB, free: 7.047 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: 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 (8): * Single equations (assignments): 6 * 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.002443/0.379, allocations: 1.179 MB / 0.5392 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3792, allocations: 58.58 kB / 0.5393 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3792, allocations: 0 / 0.5393 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.3793, allocations: 29.44 kB / 0.5393 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.3797, allocations: 48.12 kB / 0.5394 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3817, allocations: 1.587 MB / 0.5409 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3821, allocations: 0.7037 MB / 0.5416 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.3822, allocations: 19.44 kB / 0.5416 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.3823, allocations: 34.45 kB / 0.5417 GB, free: 3.914 MB / 398.1 MB Notification: Performance of SimCode: time 2.485e-06/0.3823, allocations: 0 / 0.5417 GB, free: 3.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.4098, allocations: 4.028 MB / 0.5456 GB, free: 1.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.61, allocations: 20.5 kB / 0.5456 GB, free: 1.676 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)