Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002548/0.002548, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 247 MB, free: 10.48 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.2307/0.2307, allocations: 46.11 MB / 344.3 MB, free: 11.49 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.00356/0.003561, allocations: 71.88 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.351, allocations: 62.46 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003154/0.3542, allocations: 1.609 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3553, allocations: 0.5579 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.3553, allocations: 1.125 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.356, allocations: 453 kB / 0.5332 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.3565, allocations: 296.5 kB / 0.5335 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.3569, allocations: 171.5 kB / 0.5336 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.3572, allocations: 170.4 kB / 0.5338 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.3573, allocations: 14.8 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3575, allocations: 110.8 kB / 0.5339 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.3577, allocations: 206.7 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3577, allocations: 2.281 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.3578, allocations: 30.67 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3579, allocations: 87.67 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.358, allocations: 98.12 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.3583, allocations: 264.4 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3584, allocations: 3.984 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3584, allocations: 0 / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3584, allocations: 0 / 0.5346 GB, free: 10.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007606/0.3591, allocations: 0.651 MB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3592, allocations: 9.125 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.3592, allocations: 35.91 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.214e-05/0.3593, allocations: 43.06 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.3596, allocations: 313.1 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3597, allocations: 1.531 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3597, allocations: 5.688 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3598, allocations: 53.09 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3599, allocations: 3.984 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3599, allocations: 4 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3599, allocations: 1.125 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.36, allocations: 30.16 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.3605, allocations: 387.1 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.3606, allocations: 31.58 kB / 0.5361 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.3607, allocations: 16.34 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3607, allocations: 0 / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3608, allocations: 39.66 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3608, allocations: 1.25 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002748/0.361, allocations: 103.6 kB / 0.5362 GB, free: 9.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3611, allocations: 52.69 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009845/0.3621, allocations: 0.8814 MB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3621, allocations: 30.64 kB / 0.5372 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3623, allocations: 221.3 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3623, allocations: 14.02 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.3624, allocations: 16.12 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3626, allocations: 363.4 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/0.3626, allocations: 14.83 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.3627, allocations: 5.625 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.429e-05/0.3628, allocations: 26.44 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3628, allocations: 4.062 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001703/0.363, allocations: 95.98 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.363, allocations: 9.875 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.363, allocations: 0 / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.363, allocations: 0 / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.3631, allocations: 12.56 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3631, allocations: 0 / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.3632, allocations: 6.547 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3632, allocations: 1.844 kB / 0.5379 GB, free: 7.957 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 (2): * Single equations (assignments): 2 * 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.0001918/0.3634, allocations: 213.8 kB / 0.5381 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.3634, allocations: 45.95 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.3637, allocations: 109 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3637, allocations: 1.312 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3637, allocations: 0 / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3637, allocations: 1.281 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.3641, allocations: 292.3 kB / 0.5386 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3641, allocations: 0 / 0.5386 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.3642, allocations: 8.688 kB / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3642, allocations: 1.875 kB / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3642, allocations: 3.938 kB / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3642, allocations: 0 / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.3642, allocations: 4 kB / 0.5386 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3644, allocations: 190.3 kB / 0.5388 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.3646, allocations: 118.9 kB / 0.5389 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3646, allocations: 5.734 kB / 0.5389 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.3647, allocations: 1.344 kB / 0.5389 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.3647, allocations: 1.531 kB / 0.5389 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3647, allocations: 3.938 kB / 0.5389 GB, free: 7.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006881/0.3654, allocations: 0.6601 MB / 0.5395 GB, free: 6.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3654, allocations: 1 kB / 0.5395 GB, free: 6.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3657, allocations: 19.09 kB / 0.5395 GB, free: 6.805 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.001657/0.3673, allocations: 0.976 MB / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.3675, allocations: 23.92 kB / 0.5405 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3675, allocations: 0 / 0.5405 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.3676, allocations: 15.64 kB / 0.5405 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.368, allocations: 25.14 kB / 0.5406 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.3721, allocations: 3.189 MB / 0.5437 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.3727, allocations: 0.8265 MB / 0.5445 GB, free: 3.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.454e-05/0.3728, allocations: 19.75 kB / 0.5445 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.373, allocations: 116 kB / 0.5446 GB, free: 3.008 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.373, allocations: 0 / 0.5446 GB, free: 3.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.4026, allocations: 5.801 MB / 0.5503 GB, free: 13.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.093, allocations: 9.906 kB / 0.5503 GB, free: 13.36 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1)