Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 122.2 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.001456/0.001456, 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.447/1.447, 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.2338/0.2338, allocations: 46.11 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.003194/0.003194, allocations: 79.88 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.429, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003462/0.4325, allocations: 1.735 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.4354, allocations: 1.631 MB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.4356, allocations: 2.094 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.436, allocations: 36.08 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.4364, allocations: 104.2 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.4367, allocations: 71.75 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.4369, allocations: 117.4 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.437, allocations: 10.12 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.4371, allocations: 50.06 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.4373, allocations: 51.95 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.4373, allocations: 5.5 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.4376, allocations: 112.4 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.4376, allocations: 25.41 kB / 0.5345 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.4377, allocations: 33.38 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.438, allocations: 181 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4381, allocations: 0 / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4381, allocations: 0 / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.4381, allocations: 1.375 kB / 0.5347 GB, free: 10.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006797/0.4388, allocations: 444.8 kB / 0.5352 GB, free: 9.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4388, allocations: 8.25 kB / 0.5352 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.4389, allocations: 36.12 kB / 0.5352 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.4389, allocations: 10.39 kB / 0.5352 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.4393, allocations: 225 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4393, allocations: 1.75 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.4394, allocations: 6.688 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.4396, allocations: 81.23 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4396, allocations: 7.953 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4396, allocations: 1.375 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4396, allocations: 0 / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.4397, allocations: 27.11 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.4401, allocations: 302.9 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.4404, allocations: 72.8 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.4404, allocations: 23.84 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.4405, allocations: 1.375 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.4406, allocations: 75.81 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.4406, allocations: 0 / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006138/0.4413, allocations: 199.4 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.4413, allocations: 83.77 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.4415, allocations: 169.8 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4416, allocations: 31.05 kB / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.4416, allocations: 101.2 kB / 0.5366 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.4417, allocations: 35.58 kB / 0.5366 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.4417, allocations: 25.66 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4419, allocations: 326.6 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.442, allocations: 24.61 kB / 0.537 GB, free: 8.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.4421, allocations: 47.41 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4422, allocations: 76.42 kB / 0.5371 GB, free: 7.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4422, allocations: 0 / 0.5371 GB, free: 7.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002262/0.4425, allocations: 114.5 kB / 0.5372 GB, free: 7.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4425, allocations: 5.781 kB / 0.5372 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4425, allocations: 1.062 kB / 0.5372 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4425, allocations: 5.156 kB / 0.5372 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4426, allocations: 14.78 kB / 0.5372 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4426, allocations: 1.094 kB / 0.5372 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.4427, allocations: 14.36 kB / 0.5372 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4427, allocations: 6.219 kB / 0.5372 GB, free: 7.895 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 (11): * Single equations (assignments): 11 * 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.0001123/0.4428, allocations: 121.2 kB / 0.5373 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.4429, allocations: 9.672 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.4429, allocations: 17.45 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4429, allocations: 1.375 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4429, allocations: 4 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.443, allocations: 8.906 kB / 0.5374 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.4435, allocations: 414.3 kB / 0.5378 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.4435, allocations: 1.125 kB / 0.5378 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.4436, allocations: 17.23 kB / 0.5378 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4436, allocations: 5.188 kB / 0.5378 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4436, allocations: 1.281 kB / 0.5378 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4436, allocations: 1.281 kB / 0.5378 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4436, allocations: 4.031 kB / 0.5378 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.4439, allocations: 211.7 kB / 0.538 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.444, allocations: 92.27 kB / 0.5381 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.444, allocations: 6.375 kB / 0.5381 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.4441, allocations: 6.625 kB / 0.5381 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.4442, allocations: 11.45 kB / 0.5381 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.4442, allocations: 11.12 kB / 0.5381 GB, free: 7.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.4443, allocations: 127.7 kB / 0.5383 GB, free: 6.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4443, allocations: 0 / 0.5383 GB, free: 6.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.4447, allocations: 46.98 kB / 0.5383 GB, free: 6.918 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 (9): * Single equations (assignments): 7 * 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.002389/0.4471, allocations: 1.204 MB / 0.5395 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.4473, allocations: 63.39 kB / 0.5395 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4473, allocations: 1.188 kB / 0.5395 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.21e-05/0.4474, allocations: 31.36 kB / 0.5396 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.4478, allocations: 49 kB / 0.5396 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.4498, allocations: 1.647 MB / 0.5412 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.4503, allocations: 0.7043 MB / 0.5419 GB, free: 3.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.996e-05/0.4504, allocations: 33.2 kB / 0.5419 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.4505, allocations: 43.19 kB / 0.542 GB, free: 3.734 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4505, allocations: 0 / 0.542 GB, free: 3.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.4787, allocations: 4.18 MB / 0.5461 GB, free: 1.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.457, allocations: 8.969 kB / 0.5461 GB, free: 1.438 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)