Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 118.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.00179/0.00179, allocations: 197.2 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.644/1.644, 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.2308/0.2308, allocations: 46.11 MB / 344.3 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.002296/0.002297, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3253, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003213/0.3286, allocations: 1.655 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3297, allocations: 0.5522 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.3298, allocations: 1.531 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.3301, allocations: 94.52 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.3305, allocations: 110.7 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.3309, allocations: 124.2 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3311, allocations: 103.2 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3312, allocations: 33.72 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.3313, allocations: 39.09 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3314, allocations: 64.62 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3315, allocations: 5.5 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3316, allocations: 46.23 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.3317, allocations: 34.84 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.3317, allocations: 39.94 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.332, allocations: 136.4 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.332, allocations: 0 / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.332, allocations: 0 / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.332, allocations: 4 kB / 0.5336 GB, free: 11.16 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005965/0.3326, allocations: 434.3 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.3327, allocations: 13.56 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.3327, allocations: 37.5 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.3328, allocations: 15.72 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.333, allocations: 217.8 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.333, allocations: 3.125 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3331, allocations: 4.5 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3333, allocations: 79.61 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3333, allocations: 3.953 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3333, allocations: 1.375 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3333, allocations: 1.375 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3334, allocations: 44.7 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.334, allocations: 343 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3342, allocations: 68.89 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.3343, allocations: 32.38 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3343, allocations: 5.203 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.3344, allocations: 35.45 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3344, allocations: 0 / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001224/0.3356, allocations: 338.3 kB / 0.5352 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.3357, allocations: 53.72 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.336, allocations: 242.1 kB / 0.5355 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.336, allocations: 27.05 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.3361, allocations: 115 kB / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.3362, allocations: 48.53 kB / 0.5357 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.3363, allocations: 31.81 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3364, allocations: 323 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3365, allocations: 44.19 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3367, allocations: 47.97 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.3369, allocations: 119.1 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3369, allocations: 0 / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002927/0.3372, allocations: 159.3 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3372, allocations: 6.344 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3372, allocations: 3.938 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3373, allocations: 5.219 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3374, allocations: 28.89 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3374, allocations: 0 / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3375, allocations: 8.172 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3375, allocations: 2.75 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001301/0.3376, allocations: 140 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.3377, allocations: 14.25 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.3381, allocations: 186.9 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3381, allocations: 1.031 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3381, allocations: 1.062 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3381, allocations: 3.984 kB / 0.5367 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.3389, allocations: 0.4934 MB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3389, allocations: 0 / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.339, allocations: 28.64 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.339, allocations: 1.125 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.339, allocations: 10.59 kB / 0.5373 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.339, allocations: 1 kB / 0.5373 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.3391, allocations: 1.125 kB / 0.5373 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.3394, allocations: 268.7 kB / 0.5375 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.3395, allocations: 89.92 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3395, allocations: 1.344 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.3396, allocations: 3.406 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3397, allocations: 12.92 kB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3397, allocations: 3.438 kB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3399, allocations: 186.4 kB / 0.5378 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3399, allocations: 0 / 0.5378 GB, free: 7.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3402, allocations: 28.16 kB / 0.5378 GB, free: 7.562 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.002285/0.3425, allocations: 1.141 MB / 0.5389 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.3428, allocations: 110.3 kB / 0.539 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3428, allocations: 4 kB / 0.539 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3429, allocations: 59.81 kB / 0.5391 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3433, allocations: 27.23 kB / 0.5391 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.3458, allocations: 1.917 MB / 0.541 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3462, allocations: 0.7193 MB / 0.5417 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.875e-05/0.3463, allocations: 29.55 kB / 0.5417 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.3464, allocations: 44.11 kB / 0.5418 GB, free: 4.27 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3464, allocations: 0 / 0.5418 GB, free: 4.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.3731, allocations: 3.626 MB / 0.5453 GB, free: 2.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.476, allocations: 9.516 kB / 0.5453 GB, free: 2.328 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_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_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1)