Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001913/0.001913, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002223/0.002223, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247 MB, free: 10.36 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.2316/0.2316, allocations: 46.13 MB / 344.4 MB, free: 11.41 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.002269/0.002269, allocations: 75.88 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3316, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003046/0.3347, allocations: 1.702 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3364, allocations: 0.9992 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.3364, allocations: 4 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.3367, allocations: 64.48 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.337, allocations: 105.3 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.3372, allocations: 77.5 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3374, allocations: 103.7 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.3375, allocations: 4.453 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.3376, allocations: 46.86 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.3377, allocations: 56.17 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3377, allocations: 4.156 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.3378, allocations: 27.55 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.3378, allocations: 19.61 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.3379, allocations: 30.41 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.3381, allocations: 112.4 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.3381, allocations: 1.469 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3381, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3381, allocations: 0 / 0.5339 GB, free: 10.83 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.0005434/0.3387, allocations: 419.5 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3387, allocations: 8.562 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.3388, allocations: 35.86 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3388, allocations: 13.78 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3391, allocations: 208.3 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3391, allocations: 5.578 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3391, allocations: 9.406 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3393, allocations: 44.22 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3393, allocations: 3.984 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3393, allocations: 3.984 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3393, allocations: 5.594 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.375e-05/0.3394, allocations: 15.06 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.3396, allocations: 184.1 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.3398, allocations: 54.7 kB / 0.5349 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.3398, allocations: 20.84 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.3399, allocations: 5.031 kB / 0.5349 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.34, allocations: 64.27 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.34, allocations: 3.938 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002763/0.3403, allocations: 92.28 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.3404, allocations: 52.44 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3406, allocations: 195.7 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3406, allocations: 27.08 kB / 0.5353 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.3407, allocations: 104.2 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.3407, allocations: 22.59 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3408, allocations: 23.16 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3409, allocations: 321.6 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.341, allocations: 16.23 kB / 0.5358 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.3411, allocations: 27.33 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.3412, allocations: 51.78 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3412, allocations: 3.938 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001542/0.3414, allocations: 87.77 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3414, allocations: 5.5 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3414, allocations: 3.938 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3414, allocations: 1.375 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.3415, allocations: 9.625 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3415, allocations: 0 / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.3415, allocations: 14.77 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.3416, allocations: 2.75 kB / 0.536 GB, free: 8.797 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.0001034/0.3417, allocations: 122 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.3417, allocations: 9.453 kB / 0.5361 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.3417, allocations: 17.11 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3417, allocations: 1.375 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3418, allocations: 0 / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3418, allocations: 0 / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3419, allocations: 198 kB / 0.5363 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3419, allocations: 0 / 0.5363 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.342, allocations: 10.69 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.342, allocations: 1.375 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.342, allocations: 1.375 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.342, allocations: 0 / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.342, allocations: 0 / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.3422, allocations: 110 kB / 0.5365 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.3423, allocations: 83.81 kB / 0.5365 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3423, allocations: 1.5 kB / 0.5365 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.3423, allocations: 13.36 kB / 0.5366 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.3424, allocations: 6.75 kB / 0.5366 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3424, allocations: 1.281 kB / 0.5366 GB, free: 8.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.3426, allocations: 144.9 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3426, allocations: 0 / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.3428, allocations: 20.81 kB / 0.5367 GB, free: 8.105 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.001868/0.3447, allocations: 0.9526 MB / 0.5376 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3448, allocations: 46.92 kB / 0.5377 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3448, allocations: 0 / 0.5377 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.3449, allocations: 20.61 kB / 0.5377 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.3452, allocations: 23.92 kB / 0.5377 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.347, allocations: 1.504 MB / 0.5392 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.3474, allocations: 0.7003 MB / 0.5399 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.108e-05/0.3475, allocations: 16.09 kB / 0.5399 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.3475, allocations: 30.5 kB / 0.5399 GB, free: 5.242 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3475, allocations: 0 / 0.5399 GB, free: 5.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.3723, allocations: 3.169 MB / 0.543 GB, free: 3.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.335, allocations: 5 kB / 0.543 GB, free: 3.516 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)