Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, 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.001494/0.001494, 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.551/1.551, allocations: 227.4 MB / 247 MB, free: 10.44 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.2356/0.2356, allocations: 46.12 MB / 344.3 MB, free: 11.44 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.002526/0.002526, allocations: 79.88 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3515, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003145/0.3547, allocations: 1.691 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3564, allocations: 0.9978 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.3565, allocations: 0 / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.3568, allocations: 71.34 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.3571, allocations: 109.8 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.3573, allocations: 66.22 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.3576, allocations: 111.9 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.3576, allocations: 3.859 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.3577, allocations: 55.09 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3578, allocations: 40.19 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3579, allocations: 3.594 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.358, allocations: 28.38 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.358, allocations: 22.22 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.3581, allocations: 36.08 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.3583, allocations: 108.7 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3584, allocations: 3.938 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3584, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3584, allocations: 5.312 kB / 0.5339 GB, free: 10.84 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.0006562/0.3591, allocations: 414.2 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3591, allocations: 9.625 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.3592, allocations: 36.12 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.3592, allocations: 12.97 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.3596, allocations: 217.4 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3596, allocations: 1.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3596, allocations: 5.312 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3598, allocations: 51.23 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3598, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3598, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3598, allocations: 1.375 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.3599, allocations: 24.22 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.3602, allocations: 183.4 kB / 0.5348 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3604, allocations: 59.11 kB / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.3605, allocations: 17.11 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3605, allocations: 0 / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.3607, allocations: 69.08 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.3607, allocations: 0 / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003345/0.361, allocations: 96.11 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3611, allocations: 51.41 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3613, allocations: 196.1 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3614, allocations: 27.08 kB / 0.5353 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.3614, allocations: 96.27 kB / 0.5354 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.3615, allocations: 30.58 kB / 0.5355 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.3615, allocations: 19.22 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3617, allocations: 321.6 kB / 0.5358 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.3618, allocations: 20.17 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.3618, allocations: 27.34 kB / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3619, allocations: 47.83 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.362, allocations: 7.938 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001532/0.3621, allocations: 83.78 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3621, allocations: 5.5 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3622, allocations: 160 / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3622, allocations: 5.312 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.3623, allocations: 13.61 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3623, allocations: 3.984 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.3623, allocations: 2.75 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3623, allocations: 2.75 kB / 0.536 GB, free: 8.812 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.0001184/0.3625, allocations: 133.9 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.3625, allocations: 9.234 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.3625, allocations: 13.5 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3625, allocations: 6.062 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3626, allocations: 3.984 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3626, allocations: 0 / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.3628, allocations: 189.2 kB / 0.5363 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3628, allocations: 0 / 0.5363 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.3628, allocations: 3.531 kB / 0.5363 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3628, allocations: 4 kB / 0.5363 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3628, allocations: 9.016 kB / 0.5364 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3628, allocations: 1.125 kB / 0.5364 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3628, allocations: 0 / 0.5364 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.363, allocations: 106 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.3631, allocations: 83.56 kB / 0.5365 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3631, allocations: 5.031 kB / 0.5365 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.3632, allocations: 2.094 kB / 0.5365 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.3632, allocations: 14.52 kB / 0.5366 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3632, allocations: 6.469 kB / 0.5366 GB, free: 8.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.3634, allocations: 144 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3634, allocations: 0 / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.3636, allocations: 20.7 kB / 0.5367 GB, free: 8.109 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.001897/0.3655, allocations: 0.9494 MB / 0.5376 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.3657, allocations: 40.39 kB / 0.5377 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3657, allocations: 0 / 0.5377 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.3658, allocations: 20.48 kB / 0.5377 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3661, allocations: 35.09 kB / 0.5377 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3679, allocations: 1.5 MB / 0.5392 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3682, allocations: 0.7033 MB / 0.5399 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.233e-05/0.3683, allocations: 16.45 kB / 0.5399 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.3684, allocations: 30.23 kB / 0.5399 GB, free: 5.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3684, allocations: 0 / 0.5399 GB, free: 5.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.3947, allocations: 3.161 MB / 0.543 GB, free: 3.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.396, allocations: 12.72 kB / 0.543 GB, free: 3.523 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)