Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 121.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.001721/0.001721, allocations: 203.9 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.425/1.425, allocations: 227.4 MB / 247 MB, free: 10.39 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.2267/0.2267, allocations: 46.13 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.002228/0.002228, allocations: 83.86 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3483, allocations: 62.44 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003047/0.3514, allocations: 1.729 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.3538, allocations: 1.632 MB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.3539, allocations: 5.375 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.3542, allocations: 29.41 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.3545, allocations: 103 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.3547, allocations: 80.3 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3549, allocations: 102.4 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.355, allocations: 13.5 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.3551, allocations: 45.66 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.3552, allocations: 50.89 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3553, allocations: 4.125 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.3554, allocations: 111 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.3555, allocations: 21.23 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.3556, allocations: 35.78 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.3559, allocations: 170.5 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3559, allocations: 3.938 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3559, allocations: 0 / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3559, allocations: 1.062 kB / 0.5347 GB, free: 10.23 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.0005912/0.3565, allocations: 434.2 kB / 0.5351 GB, free: 9.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3565, allocations: 9.25 kB / 0.5351 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.3566, allocations: 32.06 kB / 0.5352 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.3566, allocations: 17.25 kB / 0.5352 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.3569, allocations: 211.7 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.357, allocations: 8.75 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.357, allocations: 6.609 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3571, allocations: 66.02 kB / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3572, allocations: 4 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3572, allocations: 1.375 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3572, allocations: 1.094 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.3573, allocations: 17.98 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.3576, allocations: 285.6 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3578, allocations: 57.92 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.3579, allocations: 25.41 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3579, allocations: 1.094 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.3581, allocations: 65.02 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3581, allocations: 0 / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005379/0.3586, allocations: 185.8 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3587, allocations: 86.08 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3589, allocations: 165.1 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3589, allocations: 31.14 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.359, allocations: 91.77 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.359, allocations: 36.92 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3591, allocations: 24.25 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3592, allocations: 321.2 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.3593, allocations: 18.64 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.659e-05/0.3594, allocations: 49.84 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3595, allocations: 54.89 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3595, allocations: 0 / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002315/0.3597, allocations: 104.2 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3597, allocations: 5.281 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3598, allocations: 0 / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3598, allocations: 1.531 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.3599, allocations: 29.27 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3599, allocations: 5.188 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.3599, allocations: 1.312 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.36, allocations: 3.812 kB / 0.5371 GB, free: 7.969 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.0001105/0.3601, allocations: 124.5 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3601, allocations: 8.234 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.3601, allocations: 12.34 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3602, allocations: 5.25 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3602, allocations: 5.219 kB / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3602, allocations: 0 / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.3607, allocations: 400 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.3607, allocations: 9.047 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.3607, allocations: 7.656 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3608, allocations: 1 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3608, allocations: 1.188 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3608, allocations: 1.094 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3608, allocations: 1 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.361, allocations: 203.6 kB / 0.5378 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.3611, allocations: 96.14 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.3611, allocations: 10.23 kB / 0.5379 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.3612, allocations: 2.594 kB / 0.5379 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3613, allocations: 7.359 kB / 0.5379 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3613, allocations: 7.344 kB / 0.5379 GB, free: 7.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3614, allocations: 127.1 kB / 0.538 GB, free: 7.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3614, allocations: 0 / 0.538 GB, free: 7.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.3617, allocations: 50.14 kB / 0.5381 GB, free: 7.008 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.00234/0.3641, allocations: 1.185 MB / 0.5392 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3643, allocations: 62.72 kB / 0.5393 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3643, allocations: 3.938 kB / 0.5393 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.3644, allocations: 21.12 kB / 0.5393 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3647, allocations: 38.06 kB / 0.5394 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.3665, allocations: 1.58 MB / 0.5409 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3668, allocations: 0.6987 MB / 0.5416 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.014e-05/0.3669, allocations: 23.8 kB / 0.5416 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.367, allocations: 38.39 kB / 0.5417 GB, free: 3.883 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.367, allocations: 3.938 kB / 0.5417 GB, free: 3.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.3939, allocations: 4.025 MB / 0.5456 GB, free: 1.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.463, allocations: 22.86 kB / 0.5456 GB, free: 1.641 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)