Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 118.2 kB / 17.78 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.00146/0.00146, allocations: 205.2 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.509/1.509, 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.2268/0.2268, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002605/0.002605, allocations: 79.88 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3276, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002865/0.3306, allocations: 1.692 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3322, allocations: 1.002 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.3323, allocations: 1.156 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3326, allocations: 63.08 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.3329, allocations: 106.1 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.3331, allocations: 77.72 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3332, allocations: 102.8 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.3333, allocations: 9.734 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.39e-05/0.3334, allocations: 51.02 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-05/0.3335, allocations: 44.45 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3335, allocations: 2.75 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.3336, allocations: 28.61 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.3337, allocations: 22.73 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.3337, allocations: 30.62 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3339, allocations: 113.7 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3339, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3339, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3339, allocations: 3.938 kB / 0.5339 GB, free: 10.86 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.000526/0.3345, allocations: 415.6 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3345, allocations: 9.625 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.3345, allocations: 36.11 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3346, allocations: 12.97 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.3349, allocations: 219.9 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3349, allocations: 1.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3349, allocations: 5.312 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3351, allocations: 48.69 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3351, allocations: 0 / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3351, allocations: 3.984 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3351, allocations: 1.375 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.811e-05/0.3352, allocations: 14.86 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.3354, allocations: 187.4 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3356, allocations: 59.06 kB / 0.5349 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.3357, allocations: 25.09 kB / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3357, allocations: 1.375 kB / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3359, allocations: 59.77 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.3359, allocations: 1.375 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002847/0.3362, allocations: 98.69 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3362, allocations: 52.78 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3364, allocations: 200.1 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3364, allocations: 27.08 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.3365, allocations: 100.2 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.3365, allocations: 22.59 kB / 0.5355 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.3366, allocations: 19.09 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3367, allocations: 321.5 kB / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.3368, allocations: 17.11 kB / 0.5358 GB, free: 8.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.3369, allocations: 33.98 kB / 0.5358 GB, free: 8.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.337, allocations: 39.97 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.337, allocations: 3.938 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.3372, allocations: 87.61 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3372, allocations: 9.25 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3372, allocations: 1.688 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3372, allocations: 0 / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.3373, allocations: 12.75 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3373, allocations: 4.969 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3374, allocations: 6.078 kB / 0.536 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3374, allocations: 2.094 kB / 0.536 GB, free: 8.828 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.0001045/0.3375, allocations: 122.7 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3375, allocations: 9.578 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.3376, allocations: 17.05 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3376, allocations: 5.219 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3376, allocations: 0 / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3376, allocations: 1.281 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.3378, allocations: 200.5 kB / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3378, allocations: 0 / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.3378, allocations: 3.25 kB / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3378, allocations: 1.062 kB / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3378, allocations: 5.125 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3378, allocations: 320 / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3378, allocations: 1.5 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.338, allocations: 116.8 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.3381, allocations: 84.44 kB / 0.5365 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.3381, allocations: 5.094 kB / 0.5365 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.3382, allocations: 5.141 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.3382, allocations: 2.156 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3382, allocations: 2.375 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3384, allocations: 148 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3384, allocations: 1.094 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.3386, allocations: 16.94 kB / 0.5367 GB, free: 8.133 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.001849/0.3404, allocations: 0.9537 MB / 0.5376 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.3406, allocations: 40 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3406, allocations: 0 / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.3407, allocations: 20.56 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.341, allocations: 32.69 kB / 0.5377 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3426, allocations: 1.49 MB / 0.5392 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.3429, allocations: 0.7109 MB / 0.5399 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.067e-05/0.343, allocations: 21.25 kB / 0.5399 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.3431, allocations: 29.17 kB / 0.5399 GB, free: 5.262 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3431, allocations: 0 / 0.5399 GB, free: 5.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.3669, allocations: 3.158 MB / 0.543 GB, free: 3.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.305, allocations: 9.062 kB / 0.543 GB, free: 3.543 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39_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_Test39.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)