Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 118.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.00137/0.00137, allocations: 198 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.48/1.48, allocations: 227.4 MB / 247 MB, free: 10.46 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.227/0.227, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002265/0.002265, allocations: 79.88 kB / 481 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.323, allocations: 62.44 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00324/0.3263, allocations: 1.695 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3282, allocations: 0.998 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.3283, allocations: 1.375 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.3287, allocations: 49.62 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.3291, allocations: 111.1 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.3293, allocations: 69.61 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.3295, allocations: 106.2 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.3296, allocations: 4.359 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3297, allocations: 49.55 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3298, allocations: 40.84 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3298, allocations: 4.656 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.3299, allocations: 32.11 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.33, allocations: 17.73 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.3301, allocations: 34.48 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3303, allocations: 103.8 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3303, allocations: 0 / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3303, allocations: 1.031 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3304, allocations: 0 / 0.5339 GB, free: 10.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006972/0.3311, allocations: 418.2 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.3311, allocations: 9.188 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.3312, allocations: 32 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.3312, allocations: 8.703 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.3316, allocations: 208 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3316, allocations: 1.688 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.3316, allocations: 5.219 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3318, allocations: 51.3 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3318, allocations: 0 / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.3318, allocations: 1.125 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3318, allocations: 4 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.3319, allocations: 20.78 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.3321, allocations: 185.8 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3323, allocations: 55.84 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.3324, allocations: 21.19 kB / 0.5349 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3324, allocations: 4 kB / 0.5349 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.3326, allocations: 68.39 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.3326, allocations: 0 / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.3329, allocations: 92.25 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.3329, allocations: 51.41 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3331, allocations: 189.8 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3331, allocations: 26.8 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.3332, allocations: 104.2 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.3333, allocations: 14.73 kB / 0.5354 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.3333, allocations: 18.94 kB / 0.5354 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3335, allocations: 326.2 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.3335, allocations: 15.33 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.3336, allocations: 27.3 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.3337, allocations: 51.69 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3337, allocations: 3.938 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001566/0.3339, allocations: 88.23 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3339, allocations: 4.406 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3339, allocations: 1.188 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3339, allocations: 1.062 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.334, allocations: 13.28 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.334, allocations: 0 / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.3341, allocations: 10.77 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3341, allocations: 2.75 kB / 0.5359 GB, free: 8.875 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 (7): * Single equations (assignments): 7 * 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.0001042/0.3342, allocations: 124.6 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.3342, allocations: 9.453 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.3343, allocations: 17.11 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3343, allocations: 0 / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3343, allocations: 1.375 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3343, allocations: 0 / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.3345, allocations: 188.7 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3345, allocations: 0 / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.3345, allocations: 10.73 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3345, allocations: 1.375 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3345, allocations: 1.375 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3346, allocations: 3.938 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3346, allocations: 0 / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.3348, allocations: 110.1 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.3348, allocations: 87.75 kB / 0.5365 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3348, allocations: 5.375 kB / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.3349, allocations: 5.375 kB / 0.5365 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.3349, allocations: 9.297 kB / 0.5365 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.3349, allocations: 6.75 kB / 0.5365 GB, free: 8.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3351, allocations: 135.3 kB / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3351, allocations: 0 / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.3353, allocations: 17.73 kB / 0.5366 GB, free: 8.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001869/0.3372, allocations: 0.952 MB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.3373, allocations: 44.17 kB / 0.5376 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3373, allocations: 0 / 0.5376 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.3374, allocations: 19.45 kB / 0.5376 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3377, allocations: 38.25 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.3394, allocations: 1.478 MB / 0.5391 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3397, allocations: 0.7023 MB / 0.5398 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.3397, allocations: 11.98 kB / 0.5398 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.3398, allocations: 30.23 kB / 0.5398 GB, free: 5.328 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3398, allocations: 0 / 0.5398 GB, free: 5.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.3621, allocations: 3.096 MB / 0.5429 GB, free: 3.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.283, allocations: 12.66 kB / 0.5429 GB, free: 3.637 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1)