Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 121.1 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.001341/0.001341, allocations: 203.8 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.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.42 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.2324/0.2324, allocations: 46.12 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.00229/0.00229, allocations: 79.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3279, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003028/0.3309, allocations: 1.731 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3326, allocations: 1.021 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.3327, allocations: 5.375 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.333, allocations: 42.77 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.3332, allocations: 91.11 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3334, allocations: 80.28 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.3336, allocations: 101 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.3337, allocations: 10.86 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.3338, allocations: 42.91 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.3339, allocations: 42.72 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.3339, allocations: 2.75 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.334, allocations: 40.86 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.334, allocations: 26.73 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.3341, allocations: 35.98 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.3343, allocations: 117.8 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3343, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3343, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.3343, allocations: 0 / 0.534 GB, free: 10.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005343/0.3349, allocations: 432.8 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3349, allocations: 9.406 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.335, allocations: 36.06 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.335, allocations: 10.2 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.3353, allocations: 221 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3353, allocations: 1.281 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3354, allocations: 11.06 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3355, allocations: 49.98 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3355, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3355, allocations: 11.98 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3355, allocations: 0.8438 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.3356, allocations: 23.61 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.336, allocations: 287.2 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.3362, allocations: 53.25 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.3363, allocations: 25.59 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3363, allocations: 5.031 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.3364, allocations: 65.08 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.3365, allocations: 0 / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000535/0.337, allocations: 182.5 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3371, allocations: 52.53 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.3373, allocations: 204.7 kB / 0.5356 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3373, allocations: 26.98 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.3374, allocations: 100.8 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.3374, allocations: 23.7 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.3375, allocations: 28.48 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3376, allocations: 322.4 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.3377, allocations: 23.33 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.3378, allocations: 39.52 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.3379, allocations: 54.75 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3379, allocations: 0 / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.3381, allocations: 107.8 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3381, allocations: 7.938 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3381, allocations: 9.281 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3381, allocations: 0 / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.3382, allocations: 13.59 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3382, allocations: 9.328 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.3383, allocations: 5.344 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3383, allocations: 2.969 kB / 0.5363 GB, free: 8.594 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 (10): * Single equations (assignments): 10 * 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.0001166/0.3384, allocations: 123.8 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.3385, allocations: 17.48 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.3385, allocations: 13.53 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3385, allocations: 1.375 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3385, allocations: 1.375 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3385, allocations: 3.938 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.339, allocations: 398.6 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.339, allocations: 0 / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.339, allocations: 12.19 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3391, allocations: 5.312 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3391, allocations: 1.375 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3391, allocations: 240 / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3391, allocations: 1.375 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3393, allocations: 212.7 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.3394, allocations: 88.14 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.3394, allocations: 9.469 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.3395, allocations: 1.562 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3396, allocations: 12.77 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3396, allocations: 2.75 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.3397, allocations: 148.3 kB / 0.5373 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3397, allocations: 4 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.34, allocations: 25.28 kB / 0.5374 GB, free: 7.629 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002087/0.3421, allocations: 1.095 MB / 0.5384 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.3423, allocations: 58.48 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3423, allocations: 0 / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.3423, allocations: 38.06 kB / 0.5385 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3427, allocations: 30.34 kB / 0.5386 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3446, allocations: 1.645 MB / 0.5402 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3449, allocations: 0.7062 MB / 0.5409 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.319e-05/0.345, allocations: 18.97 kB / 0.5409 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.3451, allocations: 34.73 kB / 0.5409 GB, free: 4.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3451, allocations: 0 / 0.5409 GB, free: 4.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.3692, allocations: 3.463 MB / 0.5443 GB, free: 2.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.492, allocations: 8.625 kB / 0.5443 GB, free: 2.66 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)