Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 117.6 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.001357/0.001357, allocations: 199.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.466/1.466, allocations: 227.4 MB / 247 MB, free: 10.49 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.228/0.228, allocations: 46.12 MB / 344.4 MB, free: 11.49 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.002254/0.002254, allocations: 75.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3334, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003642/0.3371, allocations: 1.921 MB / 0.5326 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.3392, allocations: 1.12 MB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.3394, allocations: 1.375 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.3401, allocations: 230.6 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.3407, allocations: 215 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3411, allocations: 111.9 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.3415, allocations: 258.4 kB / 0.5345 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.3417, allocations: 28.23 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.3419, allocations: 128.5 kB / 0.5346 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.3421, allocations: 148.4 kB / 0.5348 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.3422, allocations: 9.312 kB / 0.5348 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3424, allocations: 66.52 kB / 0.5348 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3425, allocations: 65.66 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.3426, allocations: 91.77 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.343, allocations: 242.1 kB / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3431, allocations: 0 / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.3431, allocations: 0 / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3431, allocations: 3.938 kB / 0.5352 GB, free: 10.06 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.000874/0.344, allocations: 0.5654 MB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.344, allocations: 10.66 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/0.3441, allocations: 41.3 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.3442, allocations: 37.23 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.3446, allocations: 295.1 kB / 0.5361 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3446, allocations: 7.75 kB / 0.5361 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.3447, allocations: 13.5 kB / 0.5361 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.3449, allocations: 106.1 kB / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.345, allocations: 1.125 kB / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.345, allocations: 5.531 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.345, allocations: 1.094 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3451, allocations: 57.27 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.3458, allocations: 475.1 kB / 0.5368 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.3462, allocations: 130.4 kB / 0.5369 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3463, allocations: 48.36 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3463, allocations: 6.188 kB / 0.5369 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.3466, allocations: 120.7 kB / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.644e-06/0.3466, allocations: 4 kB / 0.5371 GB, free: 8.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001494/0.3481, allocations: 0.4958 MB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.3482, allocations: 84.11 kB / 0.5376 GB, free: 7.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.3487, allocations: 452.8 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3487, allocations: 35.77 kB / 0.5381 GB, free: 7.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3489, allocations: 155.2 kB / 0.5382 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-05/0.349, allocations: 82.78 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.349, allocations: 41.7 kB / 0.5384 GB, free: 7.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3492, allocations: 344.8 kB / 0.5387 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3493, allocations: 53.38 kB / 0.5387 GB, free: 7.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3495, allocations: 91.06 kB / 0.5388 GB, free: 7.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.3498, allocations: 165.4 kB / 0.539 GB, free: 6.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3498, allocations: 0 / 0.539 GB, free: 6.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004106/0.3502, allocations: 231.1 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3503, allocations: 5.031 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3503, allocations: 1.219 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3503, allocations: 6.344 kB / 0.5392 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3504, allocations: 50.09 kB / 0.5393 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3505, allocations: 2.156 kB / 0.5393 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.3506, allocations: 12.3 kB / 0.5393 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3506, allocations: 6.562 kB / 0.5393 GB, free: 6.75 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.000175/0.3508, allocations: 165.2 kB / 0.5394 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3508, allocations: 38.7 kB / 0.5395 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.582e-05/0.3509, allocations: 44.22 kB / 0.5395 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3509, allocations: 2.125 kB / 0.5395 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3509, allocations: 5.094 kB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3509, allocations: 5 kB / 0.5395 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.352, allocations: 0.7281 MB / 0.5402 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.352, allocations: 5.438 kB / 0.5402 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3521, allocations: 34.98 kB / 0.5403 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3522, allocations: 11.17 kB / 0.5403 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.3522, allocations: 8.438 kB / 0.5403 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3522, allocations: 1.797 kB / 0.5403 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.3522, allocations: 9.516 kB / 0.5403 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.3527, allocations: 420.2 kB / 0.5407 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3529, allocations: 101.6 kB / 0.5408 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.3529, allocations: 12.45 kB / 0.5408 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3531, allocations: 8.281 kB / 0.5408 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.3531, allocations: 20.62 kB / 0.5408 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.3532, allocations: 12.66 kB / 0.5409 GB, free: 5.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003832/0.3536, allocations: 334.4 kB / 0.5412 GB, free: 5.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3536, allocations: 0 / 0.5412 GB, free: 5.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.3539, allocations: 53.02 kB / 0.5412 GB, free: 5.23 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.002731/0.3567, allocations: 1.361 MB / 0.5426 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.357, allocations: 170.7 kB / 0.5427 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3571, allocations: 0 / 0.5427 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3572, allocations: 83.88 kB / 0.5428 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.3578, allocations: 65.59 kB / 0.5429 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.3615, allocations: 2.88 MB / 0.5457 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.3619, allocations: 0.7732 MB / 0.5464 GB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.362, allocations: 49.84 kB / 0.5465 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.3622, allocations: 95.39 kB / 0.5466 GB, free: 1.031 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3622, allocations: 4 kB / 0.5466 GB, free: 1.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.3923, allocations: 6.424 MB / 0.5528 GB, free: 10.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/8.973, allocations: 14.94 kB / 0.5529 GB, free: 10.71 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)