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.001345/0.001345, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, 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.2333/0.2333, allocations: 46.13 MB / 344.4 MB, free: 11.46 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.002474/0.002475, allocations: 79.88 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3796, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004196/0.3839, allocations: 2.284 MB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.3863, allocations: 1.309 MB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.3865, allocations: 8.062 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.387, allocations: 136.8 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.3876, allocations: 263.7 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.388, allocations: 187.5 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.3886, allocations: 460.8 kB / 0.5352 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.3888, allocations: 63.62 kB / 0.5353 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.3892, allocations: 296.2 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.3894, allocations: 159.3 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.3895, allocations: 20.72 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3897, allocations: 78.47 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3898, allocations: 145.9 kB / 0.536 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.3901, allocations: 209.2 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.3907, allocations: 484.8 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3908, allocations: 1.062 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3908, allocations: 0 / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.3908, allocations: 3.938 kB / 0.5366 GB, free: 9.004 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.00133/0.3921, allocations: 0.9149 MB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3922, allocations: 9.188 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.3922, allocations: 51.48 kB / 0.5376 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3924, allocations: 76.27 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.393, allocations: 442.9 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.3931, allocations: 14.28 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.3931, allocations: 26.23 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.3935, allocations: 192.8 kB / 0.5383 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3935, allocations: 5.078 kB / 0.5383 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.3936, allocations: 6.25 kB / 0.5383 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3936, allocations: 3.188 kB / 0.5383 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.3938, allocations: 94.05 kB / 0.5384 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.3948, allocations: 0.8245 MB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.3955, allocations: 248 kB / 0.5394 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.3957, allocations: 86.14 kB / 0.5395 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.3957, allocations: 7.344 kB / 0.5395 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.3962, allocations: 219 kB / 0.5397 GB, free: 6.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.023e-06/0.3962, allocations: 0 / 0.5397 GB, free: 6.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002637/0.3988, allocations: 1.202 MB / 0.5409 GB, free: 5.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/0.3989, allocations: 132.9 kB / 0.541 GB, free: 5.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.4001, allocations: 0.9608 MB / 0.542 GB, free: 5.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4001, allocations: 38.52 kB / 0.542 GB, free: 4.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.4004, allocations: 273.6 kB / 0.5423 GB, free: 4.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.4005, allocations: 144 kB / 0.5424 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4007, allocations: 86.86 kB / 0.5425 GB, free: 4.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4008, allocations: 318.3 kB / 0.5428 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.401, allocations: 116.1 kB / 0.5429 GB, free: 4.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.4013, allocations: 191.2 kB / 0.5431 GB, free: 4.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.4019, allocations: 313.1 kB / 0.5434 GB, free: 3.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4019, allocations: 0 / 0.5434 GB, free: 3.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008254/0.4027, allocations: 441.2 kB / 0.5438 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4028, allocations: 5.312 kB / 0.5438 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4028, allocations: 6.781 kB / 0.5438 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4028, allocations: 2.781 kB / 0.5438 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.4031, allocations: 92.77 kB / 0.5439 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.4031, allocations: 12.28 kB / 0.5439 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.4033, allocations: 20.36 kB / 0.5439 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.4033, allocations: 16.84 kB / 0.544 GB, free: 3.582 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.0003242/0.4037, allocations: 257.4 kB / 0.5442 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4038, allocations: 77.48 kB / 0.5443 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.4039, allocations: 99.2 kB / 0.5444 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4039, allocations: 7.938 kB / 0.5444 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.404, allocations: 3.938 kB / 0.5444 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.404, allocations: 7.984 kB / 0.5444 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.4057, allocations: 1.338 MB / 0.5457 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4058, allocations: 4 kB / 0.5457 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4059, allocations: 63.91 kB / 0.5458 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.4059, allocations: 4 kB / 0.5458 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.406, allocations: 12 kB / 0.5458 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/0.406, allocations: 11.92 kB / 0.5458 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.406, allocations: 7.938 kB / 0.5458 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.407, allocations: 0.8023 MB / 0.5466 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.4072, allocations: 180.5 kB / 0.5467 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.4073, allocations: 19.98 kB / 0.5468 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.4075, allocations: 12 kB / 0.5468 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.4076, allocations: 51.77 kB / 0.5468 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.4077, allocations: 23.98 kB / 0.5469 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008141/0.4085, allocations: 0.7021 MB / 0.5475 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4085, allocations: 0 / 0.5475 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005633/0.4091, 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.003091/0.4122, allocations: 1.761 MB / 0.5493 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006983/0.4129, allocations: 319.7 kB / 0.5496 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4129, allocations: 8.062 kB / 0.5497 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.4132, allocations: 155.7 kB / 0.5498 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4143, allocations: 130.8 kB / 0.5499 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006832/0.4211, allocations: 5.132 MB / 0.5549 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.4218, allocations: 0.9211 MB / 0.5558 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.422, allocations: 79.28 kB / 0.5559 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.4223, allocations: 207.4 kB / 0.5561 GB, free: 7.051 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4223, allocations: 0 / 0.5561 GB, free: 7.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/0.46, allocations: 11.53 MB / 0.5674 GB, free: 11.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.074/9.534, allocations: 16.19 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1)