Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, 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.001307/0.001307, allocations: 199.9 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.458/1.458, 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.2207/0.2207, allocations: 46.12 MB / 344.4 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.002398/0.002398, allocations: 83.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3211, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004163/0.3253, allocations: 1.877 MB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3267, allocations: 0.7051 MB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.3268, allocations: 2.312 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.3273, allocations: 176.3 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.3278, allocations: 171.8 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.3286, allocations: 332.6 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.3289, allocations: 237.1 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.3291, allocations: 62.52 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3292, allocations: 97.38 kB / 0.5342 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3294, allocations: 146 kB / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.3295, allocations: 11.72 kB / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3296, allocations: 38.12 kB / 0.5344 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.3298, allocations: 114.5 kB / 0.5345 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.33, allocations: 130.4 kB / 0.5346 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.3305, allocations: 310.3 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3305, allocations: 0 / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3305, allocations: 3.938 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.974e-06/0.3305, allocations: 1.125 kB / 0.5349 GB, free: 10.26 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.00109/0.3316, allocations: 0.6826 MB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3316, allocations: 17.56 kB / 0.5356 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.3317, allocations: 38.88 kB / 0.5356 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.3318, allocations: 38.58 kB / 0.5356 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.3323, allocations: 376 kB / 0.536 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3323, allocations: 8.688 kB / 0.536 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.3323, allocations: 11.72 kB / 0.536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.3328, allocations: 166.5 kB / 0.5362 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3328, allocations: 5.031 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3329, allocations: 5.125 kB / 0.5362 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.3329, allocations: 2.281 kB / 0.5362 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.3334, allocations: 153.8 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3345, allocations: 0.65 MB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.3349, allocations: 155.8 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.3352, allocations: 84.39 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.3352, allocations: 3.094 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3353, allocations: 31.53 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.3353, allocations: 7.938 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002782/0.3381, allocations: 0.8046 MB / 0.538 GB, free: 7.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.3381, allocations: 83.3 kB / 0.5381 GB, free: 7.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.3389, allocations: 0.5965 MB / 0.5387 GB, free: 7.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3389, allocations: 30.83 kB / 0.5387 GB, free: 7.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3391, allocations: 203.4 kB / 0.5389 GB, free: 7.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.3392, allocations: 63.2 kB / 0.539 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.3393, allocations: 38.05 kB / 0.539 GB, free: 7.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3395, allocations: 356 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.34, allocations: 132.8 kB / 0.5395 GB, free: 6.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.3405, allocations: 157.5 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009946/0.3415, allocations: 302.3 kB / 0.5399 GB, free: 6.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3415, allocations: 5.375 kB / 0.5399 GB, free: 6.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001147/0.3426, allocations: 364.8 kB / 0.5403 GB, free: 6.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3427, allocations: 5.344 kB / 0.5403 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3427, allocations: 1.094 kB / 0.5403 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3427, allocations: 5.25 kB / 0.5403 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.3431, allocations: 64.34 kB / 0.5403 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3431, allocations: 1.25 kB / 0.5403 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.3433, allocations: 44.62 kB / 0.5404 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3434, allocations: 9.375 kB / 0.5404 GB, free: 6.281 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002161/0.3436, allocations: 188 kB / 0.5406 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.541e-05/0.3437, allocations: 42.31 kB / 0.5406 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.345, allocations: 419.3 kB / 0.541 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.345, allocations: 2.969 kB / 0.541 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.345, allocations: 0 / 0.541 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.345, allocations: 1.156 kB / 0.541 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.347, allocations: 0.9163 MB / 0.5419 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.347, allocations: 0.75 kB / 0.5419 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.3473, allocations: 74.5 kB / 0.542 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3473, allocations: 2.25 kB / 0.542 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3473, allocations: 2.25 kB / 0.542 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.3473, allocations: 5.031 kB / 0.542 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.3474, allocations: 5.094 kB / 0.542 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.3487, allocations: 0.5294 MB / 0.5425 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3488, allocations: 137.5 kB / 0.5426 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3489, allocations: 5.406 kB / 0.5427 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.3492, allocations: 40.25 kB / 0.5427 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/0.3493, allocations: 20.58 kB / 0.5427 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3493, allocations: 4.25 kB / 0.5427 GB, free: 4.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005139/0.3498, allocations: 453.7 kB / 0.5431 GB, free: 4.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3498, allocations: 0 / 0.5431 GB, free: 4.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000358/0.3502, allocations: 55.84 kB / 0.5432 GB, free: 4.383 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 (18): * Single equations (assignments): 18 * 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.003078/0.3533, allocations: 1.366 MB / 0.5445 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.3544, allocations: 307.6 kB / 0.5448 GB, free: 2.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3544, allocations: 3.938 kB / 0.5448 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.355, allocations: 167.8 kB / 0.545 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.3556, allocations: 61.84 kB / 0.5451 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.3627, allocations: 4.319 MB / 0.5493 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.3632, allocations: 0.822 MB / 0.5501 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.3634, allocations: 78.53 kB / 0.5501 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3636, allocations: 115.4 kB / 0.5503 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3636, allocations: 0 / 0.5503 GB, free: 13.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.3951, allocations: 7.92 MB / 0.558 GB, free: 5.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/8.923, allocations: 10.34 kB / 0.558 GB, free: 5.461 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)