Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 122.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.001321/0.001321, allocations: 202 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.495/1.495, allocations: 227.4 MB / 247 MB, free: 10.45 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.2334/0.2334, 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.003927/0.003927, allocations: 84.09 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4117, allocations: 62.44 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003683/0.4155, allocations: 2.287 MB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.4183, allocations: 1.31 MB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.4185, allocations: 2.844 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.4188, allocations: 142.4 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.4194, allocations: 255.8 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.4199, allocations: 191.4 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.4204, allocations: 464.4 kB / 0.5352 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.4206, allocations: 63.3 kB / 0.5353 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.421, allocations: 292.2 kB / 0.5356 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.4212, allocations: 166.5 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.4212, allocations: 16.56 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.4214, allocations: 71.7 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.4216, allocations: 158.2 kB / 0.536 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.4218, allocations: 204.6 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.4224, allocations: 480.9 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4224, allocations: 1.344 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4224, allocations: 0 / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4224, allocations: 0 / 0.5366 GB, free: 9.027 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001352/0.4238, allocations: 0.919 MB / 0.5375 GB, free: 8.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4238, allocations: 9.812 kB / 0.5375 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.4239, allocations: 51.05 kB / 0.5376 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.424, allocations: 72.06 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.4247, allocations: 451.1 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.4247, allocations: 14.47 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.4248, allocations: 25.31 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.4252, allocations: 193.1 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4252, allocations: 1.344 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.4253, allocations: 9.234 kB / 0.5383 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4253, allocations: 3.719 kB / 0.5383 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.4255, allocations: 89.75 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009747/0.4265, allocations: 0.8282 MB / 0.5392 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.4271, allocations: 249.4 kB / 0.5394 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.4273, allocations: 94.02 kB / 0.5395 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4274, allocations: 3.938 kB / 0.5395 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.4277, allocations: 206.2 kB / 0.5397 GB, free: 6.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.4277, allocations: 0 / 0.5397 GB, free: 6.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002749/0.4305, allocations: 1.198 MB / 0.5409 GB, free: 5.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.4306, allocations: 140.9 kB / 0.541 GB, free: 5.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.4319, allocations: 0.9648 MB / 0.542 GB, free: 5.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.432, allocations: 38.27 kB / 0.542 GB, free: 4.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.4322, allocations: 270.2 kB / 0.5423 GB, free: 4.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.4324, allocations: 146.6 kB / 0.5424 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.4326, allocations: 87.55 kB / 0.5425 GB, free: 4.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4327, allocations: 322.6 kB / 0.5428 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.433, allocations: 107.5 kB / 0.5429 GB, free: 4.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.4333, allocations: 187.5 kB / 0.5431 GB, free: 4.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.4339, allocations: 316.6 kB / 0.5434 GB, free: 3.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4339, allocations: 9.094 kB / 0.5434 GB, free: 3.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008917/0.4348, allocations: 444 kB / 0.5438 GB, free: 3.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.4349, allocations: 5.625 kB / 0.5438 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4349, allocations: 6.219 kB / 0.5438 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4349, allocations: 4 kB / 0.5438 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.4352, allocations: 88.36 kB / 0.5439 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.4352, allocations: 12.09 kB / 0.5439 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.4354, allocations: 19.78 kB / 0.5439 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.4355, allocations: 21.86 kB / 0.544 GB, free: 3.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003801/0.4359, allocations: 252.8 kB / 0.5442 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.436, allocations: 82.28 kB / 0.5443 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.4362, allocations: 95.36 kB / 0.5444 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4362, allocations: 8 kB / 0.5444 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.4362, allocations: 3.938 kB / 0.5444 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.4362, allocations: 0 / 0.5444 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4381, allocations: 1.338 MB / 0.5457 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4381, allocations: 4 kB / 0.5457 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.4383, allocations: 59.92 kB / 0.5458 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4383, allocations: 4.375 kB / 0.5458 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.4383, allocations: 15.98 kB / 0.5458 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.4383, allocations: 4 kB / 0.5458 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.4383, allocations: 7.938 kB / 0.5458 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4394, allocations: 0.8057 MB / 0.5466 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.4396, allocations: 184.5 kB / 0.5467 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.4397, allocations: 16 kB / 0.5468 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.44, allocations: 15.98 kB / 0.5468 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4401, allocations: 51.83 kB / 0.5468 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.4402, allocations: 19.98 kB / 0.5468 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008675/0.441, allocations: 0.7021 MB / 0.5475 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4411, allocations: 0 / 0.5475 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005758/0.4416, allocations: 87.92 kB / 0.5476 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003218/0.4449, allocations: 1.77 MB / 0.5493 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007383/0.4456, allocations: 315.6 kB / 0.5496 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4456, allocations: 0 / 0.5496 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.446, allocations: 167.9 kB / 0.5498 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.447, allocations: 132.7 kB / 0.5499 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.4543, allocations: 5.132 MB / 0.5549 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.4549, allocations: 0.9133 MB / 0.5558 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.4552, allocations: 87.27 kB / 0.5559 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.4555, allocations: 207.4 kB / 0.5561 GB, free: 7.043 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4555, allocations: 0 / 0.5561 GB, free: 7.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.4954, allocations: 11.52 MB / 0.5674 GB, free: 11.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.007/9.503, allocations: 16.88 kB / 0.5674 GB, free: 11.64 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1)