Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001891/0.001891, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002241/0.002241, allocations: 200.7 kB / 18.73 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.461/1.461, 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.2288/0.2288, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.002288/0.002289, allocations: 87.8 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3324, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003241/0.3357, allocations: 1.623 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3368, allocations: 0.5449 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.3369, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.3373, allocations: 127 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.3377, allocations: 126.8 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.3381, allocations: 115.2 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3383, allocations: 97.16 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3384, allocations: 21.61 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.3385, allocations: 45.83 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.3386, allocations: 82.53 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3387, allocations: 2.75 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3388, allocations: 45.52 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.3389, allocations: 31.69 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.3389, allocations: 41.48 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3392, allocations: 119.8 kB / 0.5336 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3392, allocations: 4 kB / 0.5336 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3392, allocations: 1.125 kB / 0.5336 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3392, allocations: 0 / 0.5336 GB, free: 11.22 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.0005699/0.3398, allocations: 445.9 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3398, allocations: 8.75 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.3399, allocations: 35.69 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.34, allocations: 15.69 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3402, allocations: 214.3 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3402, allocations: 1.656 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3403, allocations: 6.969 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3404, allocations: 58.52 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3404, allocations: 1.094 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3405, allocations: 0 / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3405, allocations: 9.062 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3406, allocations: 27.44 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.341, allocations: 313.1 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3411, allocations: 47.25 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.3412, allocations: 20.62 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3412, allocations: 1.156 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3413, allocations: 31.78 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3413, allocations: 0 / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009267/0.3422, allocations: 256.3 kB / 0.535 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3423, allocations: 52.69 kB / 0.535 GB, free: 9.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3426, allocations: 283.7 kB / 0.5353 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3426, allocations: 25.7 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3428, allocations: 116.4 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3428, allocations: 26.5 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.3429, allocations: 28.58 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.3431, allocations: 324.3 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.3432, allocations: 27.11 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3433, allocations: 37.91 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.3435, allocations: 81.94 kB / 0.536 GB, free: 9.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3435, allocations: 7.938 kB / 0.536 GB, free: 9.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002405/0.3437, allocations: 109.9 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3438, allocations: 5.5 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3438, allocations: 0 / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3438, allocations: 0.9062 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3439, allocations: 21.33 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3439, allocations: 4.875 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.344, allocations: 3.156 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.344, allocations: 10.03 kB / 0.5361 GB, free: 8.926 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 (8): * Single equations (assignments): 8 * 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.000137/0.3442, allocations: 142 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.3442, allocations: 14.59 kB / 0.5363 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.3445, allocations: 125.3 kB / 0.5364 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3445, allocations: 1 kB / 0.5364 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3445, allocations: 3.938 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.3446, allocations: 5.141 kB / 0.5364 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.3452, allocations: 436 kB / 0.5368 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3452, allocations: 0 / 0.5368 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/0.3453, allocations: 25.89 kB / 0.5368 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3453, allocations: 0.7812 kB / 0.5368 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3453, allocations: 6.469 kB / 0.5368 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3453, allocations: 0 / 0.5368 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3453, allocations: 1.188 kB / 0.5368 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.3456, allocations: 223 kB / 0.537 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.3457, allocations: 96.45 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3457, allocations: 1 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.3458, allocations: 3.344 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.3459, allocations: 11.3 kB / 0.5372 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3459, allocations: 10.25 kB / 0.5372 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.3461, allocations: 209.3 kB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3461, allocations: 0 / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3464, allocations: 19.88 kB / 0.5374 GB, free: 7.836 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 (8): * Single equations (assignments): 8 * 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.002149/0.3485, allocations: 1.1 MB / 0.5385 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.3488, allocations: 79.42 kB / 0.5385 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3488, allocations: 0 / 0.5385 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3489, allocations: 40.83 kB / 0.5386 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3493, allocations: 23.14 kB / 0.5386 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.3516, allocations: 1.847 MB / 0.5404 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3519, allocations: 0.7244 MB / 0.5411 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.352, allocations: 25.2 kB / 0.5411 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.3521, allocations: 41.7 kB / 0.5412 GB, free: 4.617 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3521, allocations: 7.938 kB / 0.5412 GB, free: 4.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.3767, allocations: 3.445 MB / 0.5445 GB, free: 2.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.435, allocations: 13.48 kB / 0.5446 GB, free: 2.762 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1)