Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 118.2 kB / 17.79 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.001352/0.001352, 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.473/1.473, 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.2275/0.2275, allocations: 46.12 MB / 344.4 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.00224/0.00224, allocations: 87.86 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3483, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003428/0.3517, allocations: 1.919 MB / 0.5326 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.354, allocations: 1.123 MB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3542, allocations: 6.062 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.3546, allocations: 155.5 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.3551, allocations: 185 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.3555, allocations: 115.8 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.3558, allocations: 243.3 kB / 0.5343 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.356, allocations: 36.77 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.3562, allocations: 114.2 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3564, allocations: 126.8 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.3564, allocations: 12.25 kB / 0.5346 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3565, allocations: 66.59 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.3566, allocations: 57.64 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3568, allocations: 82.61 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.3571, allocations: 223 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3571, allocations: 0 / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3571, allocations: 1.031 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.3571, allocations: 0 / 0.535 GB, free: 10.16 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008004/0.3579, allocations: 0.5503 MB / 0.5356 GB, free: 9.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.358, allocations: 13.66 kB / 0.5356 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.3581, allocations: 37.09 kB / 0.5356 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.3581, allocations: 36.86 kB / 0.5357 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.3586, allocations: 268.2 kB / 0.5359 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3586, allocations: 6.859 kB / 0.5359 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.3586, allocations: 21.91 kB / 0.5359 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.3589, allocations: 106.6 kB / 0.536 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3589, allocations: 5.188 kB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3589, allocations: 1.188 kB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.359, allocations: 2 kB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3591, allocations: 48.52 kB / 0.5361 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.3597, allocations: 466.6 kB / 0.5365 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.3601, allocations: 126.6 kB / 0.5367 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3602, allocations: 44.08 kB / 0.5367 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3603, allocations: 2.438 kB / 0.5367 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.3605, allocations: 136.4 kB / 0.5368 GB, free: 8.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.3605, allocations: 0 / 0.5368 GB, free: 8.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001332/0.3619, allocations: 0.4887 MB / 0.5373 GB, free: 8.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.3619, allocations: 79.92 kB / 0.5374 GB, free: 8.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.3623, allocations: 373.5 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.3624, allocations: 35.89 kB / 0.5378 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3625, allocations: 144.8 kB / 0.5379 GB, free: 7.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.3626, allocations: 74.44 kB / 0.538 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.3626, allocations: 41.48 kB / 0.538 GB, free: 7.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3628, allocations: 342.8 kB / 0.5384 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.363, allocations: 57.78 kB / 0.5384 GB, free: 7.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3631, allocations: 91.75 kB / 0.5385 GB, free: 7.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.3634, allocations: 164.2 kB / 0.5387 GB, free: 7.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3634, allocations: 5.062 kB / 0.5387 GB, free: 7.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004009/0.3638, allocations: 228.5 kB / 0.5389 GB, free: 6.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3638, allocations: 10.03 kB / 0.5389 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3639, allocations: 4.844 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3639, allocations: 2.406 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.364, allocations: 50.16 kB / 0.5389 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3641, allocations: 1.906 kB / 0.5389 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/0.3641, allocations: 12.34 kB / 0.539 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3642, allocations: 7.469 kB / 0.539 GB, free: 6.926 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001537/0.3643, allocations: 162.1 kB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.3644, allocations: 33.41 kB / 0.5391 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.3645, allocations: 39.73 kB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3645, allocations: 2.375 kB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3645, allocations: 1.156 kB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3645, allocations: 5.422 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.3654, allocations: 0.7209 MB / 0.5399 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3654, allocations: 1.812 kB / 0.5399 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.3655, allocations: 32.11 kB / 0.5399 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3655, allocations: 2.75 kB / 0.5399 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3655, allocations: 8.094 kB / 0.5399 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3656, allocations: 2 kB / 0.5399 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3656, allocations: 5.938 kB / 0.5399 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.3661, allocations: 421.1 kB / 0.5404 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.3662, allocations: 100.8 kB / 0.5404 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.3662, allocations: 12.23 kB / 0.5405 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3663, allocations: 4.625 kB / 0.5405 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.3664, allocations: 33.03 kB / 0.5405 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.3664, allocations: 7.969 kB / 0.5405 GB, free: 5.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002899/0.3667, allocations: 280.4 kB / 0.5408 GB, free: 5.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3667, allocations: 0 / 0.5408 GB, free: 5.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.3671, allocations: 51.92 kB / 0.5408 GB, free: 5.449 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002799/0.3699, allocations: 1.353 MB / 0.5421 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.3703, allocations: 162.8 kB / 0.5423 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3703, allocations: 1.062 kB / 0.5423 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.3705, allocations: 82.94 kB / 0.5424 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.3712, allocations: 71.36 kB / 0.5424 GB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.3746, allocations: 2.71 MB / 0.5451 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.375, allocations: 0.7597 MB / 0.5458 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.3752, allocations: 40.95 kB / 0.5459 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.3753, allocations: 85.81 kB / 0.546 GB, free: 1.402 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3753, allocations: 1.062 kB / 0.546 GB, free: 1.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.4023, allocations: 6.114 MB / 0.5519 GB, free: 11.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.764, allocations: 11.78 kB / 0.5519 GB, free: 11.64 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)