Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.00136, allocations: 202 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.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.39 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.2311/0.2311, allocations: 46.11 MB / 344.3 MB, free: 11.43 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.002332/0.002332, allocations: 79.88 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3497, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003075/0.3528, allocations: 1.83 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3547, allocations: 1.09 MB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-05/0.3548, allocations: 5.188 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.3553, allocations: 295.1 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004414/0.3557, allocations: 253 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.356, allocations: 104.4 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.3563, allocations: 261.5 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.3563, allocations: 13.92 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3565, allocations: 136 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.3567, allocations: 188.4 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3567, allocations: 7 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3568, allocations: 46.52 kB / 0.5348 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.357, allocations: 137.1 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3572, allocations: 146.9 kB / 0.535 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.3576, allocations: 373.4 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3576, allocations: 1.125 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3576, allocations: 4 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3576, allocations: 0 / 0.5354 GB, free: 9.941 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009829/0.3586, allocations: 0.7486 MB / 0.5361 GB, free: 9.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3587, allocations: 8.594 kB / 0.5361 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.3587, allocations: 40.78 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.3588, allocations: 50.42 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.3594, allocations: 448.8 kB / 0.5367 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3594, allocations: 7.031 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3594, allocations: 10.56 kB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3596, allocations: 83.89 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3597, allocations: 0 / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3597, allocations: 0.9688 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3597, allocations: 1.344 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3598, allocations: 35.22 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.3602, allocations: 376.5 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.3605, allocations: 113.2 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.3606, allocations: 42.09 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3606, allocations: 5.031 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.3608, allocations: 111.9 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3609, allocations: 0 / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005092/0.3614, allocations: 210 kB / 0.5376 GB, free: 8.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.3614, allocations: 78.27 kB / 0.5377 GB, free: 7.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.3626, allocations: 1.031 MB / 0.5387 GB, free: 7.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3626, allocations: 27.17 kB / 0.5387 GB, free: 7.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.3628, allocations: 233.1 kB / 0.5389 GB, free: 7.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.3629, allocations: 24.36 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3629, allocations: 30.83 kB / 0.539 GB, free: 7.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3631, allocations: 369.7 kB / 0.5393 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.3632, allocations: 26.7 kB / 0.5394 GB, free: 6.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3634, allocations: 63.5 kB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.3636, allocations: 86.27 kB / 0.5395 GB, free: 6.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3636, allocations: 3.938 kB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003214/0.3639, allocations: 178.6 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3639, allocations: 5.344 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3639, allocations: 1.094 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.364, allocations: 2.562 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3641, allocations: 21.28 kB / 0.5397 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3641, allocations: 5.828 kB / 0.5397 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3642, allocations: 12.2 kB / 0.5397 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3642, allocations: 3.938 kB / 0.5397 GB, free: 6.598 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002547/0.3645, allocations: 231.8 kB / 0.54 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.3646, allocations: 51.05 kB / 0.54 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.3647, allocations: 58.38 kB / 0.5401 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3647, allocations: 4.969 kB / 0.5401 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3647, allocations: 1.438 kB / 0.5401 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3647, allocations: 1 kB / 0.5401 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.3651, allocations: 343.5 kB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3651, allocations: 1.219 kB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.3652, allocations: 10.06 kB / 0.5404 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3652, allocations: 1.094 kB / 0.5404 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3652, allocations: 10.33 kB / 0.5404 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3652, allocations: 5.125 kB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3652, allocations: 1.062 kB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.3656, allocations: 203.7 kB / 0.5406 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.3657, allocations: 138.9 kB / 0.5407 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.3658, allocations: 6.406 kB / 0.5408 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.3659, allocations: 10.48 kB / 0.5408 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.3659, allocations: 8.359 kB / 0.5408 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.366, allocations: 5.125 kB / 0.5408 GB, free: 5.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00083/0.3668, allocations: 0.7635 MB / 0.5415 GB, free: 5.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3668, allocations: 0 / 0.5415 GB, free: 5.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.3671, allocations: 48.17 kB / 0.5416 GB, free: 5.391 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002129/0.3692, allocations: 1.044 MB / 0.5426 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.3695, allocations: 82.67 kB / 0.5427 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3695, allocations: 0 / 0.5427 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3696, allocations: 39.2 kB / 0.5427 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3701, allocations: 76.08 kB / 0.5428 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/0.3759, allocations: 4.474 MB / 0.5471 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.3765, allocations: 0.8427 MB / 0.548 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3766, allocations: 55.45 kB / 0.548 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.3768, allocations: 147.4 kB / 0.5482 GB, free: 15.35 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3768, allocations: 0 / 0.5482 GB, free: 15.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.4102, allocations: 8.956 MB / 0.5569 GB, free: 6.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/9.069, allocations: 7.641 kB / 0.5569 GB, free: 6.496 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)