Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001352/0.001352, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 197.2 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247 MB, free: 10.47 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.2258/0.2258, allocations: 46.12 MB / 344.3 MB, free: 11.5 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.002324/0.002324, allocations: 79.86 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3432, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003743/0.347, allocations: 2.027 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3485, allocations: 0.8044 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3486, allocations: 0.7812 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.3491, allocations: 178.4 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.3496, allocations: 210.4 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.3507, allocations: 427.7 kB / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.3511, allocations: 293.7 kB / 0.5344 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3513, allocations: 57.47 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3514, allocations: 121 kB / 0.5346 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.3517, allocations: 167.4 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.3517, allocations: 14 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3518, allocations: 39.8 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.352, allocations: 164.5 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.3522, allocations: 198.4 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.3528, allocations: 444.1 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3528, allocations: 4 kB / 0.5356 GB, free: 9.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3528, allocations: 0 / 0.5356 GB, free: 9.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3528, allocations: 0 / 0.5356 GB, free: 9.766 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.0014/0.3542, allocations: 0.8952 MB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3543, allocations: 10.16 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.3543, allocations: 37.84 kB / 0.5365 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.3545, allocations: 63.45 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.3552, allocations: 0.5316 MB / 0.5371 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3552, allocations: 11.97 kB / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.3552, allocations: 15.2 kB / 0.5371 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.3557, allocations: 155.2 kB / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3557, allocations: 1.25 kB / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3557, allocations: 1.125 kB / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3557, allocations: 6.281 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.3562, allocations: 133.3 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3573, allocations: 0.7478 MB / 0.5381 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.3577, allocations: 142.8 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.358, allocations: 80.56 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.3581, allocations: 3.094 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3581, allocations: 44.19 kB / 0.5384 GB, free: 7.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.3581, allocations: 0 / 0.5384 GB, free: 7.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002934/0.361, allocations: 0.8267 MB / 0.5392 GB, free: 7.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.3611, allocations: 87.3 kB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.3628, allocations: 1.072 MB / 0.5403 GB, free: 6.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.3629, allocations: 30.91 kB / 0.5404 GB, free: 6.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.3632, allocations: 293.8 kB / 0.5406 GB, free: 6.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.3633, allocations: 62.28 kB / 0.5407 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.134e-05/0.3634, allocations: 33.17 kB / 0.5407 GB, free: 6.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3636, allocations: 312.1 kB / 0.541 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.364, allocations: 120 kB / 0.5411 GB, free: 5.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.3645, allocations: 137.6 kB / 0.5413 GB, free: 5.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/0.3654, allocations: 260.3 kB / 0.5415 GB, free: 5.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3654, allocations: 3.938 kB / 0.5415 GB, free: 5.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001138/0.3666, allocations: 355.2 kB / 0.5419 GB, free: 5.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3666, allocations: 5.375 kB / 0.5419 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3666, allocations: 0 / 0.5419 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3666, allocations: 2.125 kB / 0.5419 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.367, allocations: 67.17 kB / 0.5419 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.367, allocations: 2.281 kB / 0.5419 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.3673, allocations: 40.67 kB / 0.542 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3674, allocations: 4.75 kB / 0.542 GB, free: 5.297 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.000353/0.3677, allocations: 228.7 kB / 0.5422 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.3679, allocations: 67.25 kB / 0.5423 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.3692, allocations: 397.8 kB / 0.5426 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3692, allocations: 7.156 kB / 0.5426 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3692, allocations: 0 / 0.5426 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3692, allocations: 1.125 kB / 0.5426 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.3712, allocations: 0.9642 MB / 0.5436 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3712, allocations: 3.938 kB / 0.5436 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.3715, allocations: 68.61 kB / 0.5437 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3715, allocations: 0 / 0.5437 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3715, allocations: 12 kB / 0.5437 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3715, allocations: 0 / 0.5437 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3715, allocations: 3.938 kB / 0.5437 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.3728, allocations: 0.516 MB / 0.5442 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.373, allocations: 172.6 kB / 0.5443 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.373, allocations: 8 kB / 0.5443 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.3734, allocations: 39.95 kB / 0.5444 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.3735, allocations: 27.91 kB / 0.5444 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3735, allocations: 4.281 kB / 0.5444 GB, free: 3.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001019/0.3745, allocations: 0.7919 MB / 0.5452 GB, free: 2.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3745, allocations: 0 / 0.5452 GB, free: 2.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.3749, allocations: 67.88 kB / 0.5453 GB, free: 2.375 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.002886/0.3778, allocations: 1.354 MB / 0.5466 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.3789, allocations: 275.6 kB / 0.5468 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3789, allocations: 0 / 0.5468 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.3794, allocations: 147.8 kB / 0.547 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/0.3802, allocations: 94.36 kB / 0.5471 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009369/0.3895, allocations: 6.07 MB / 0.553 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.3901, allocations: 0.8855 MB / 0.5539 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.3904, allocations: 95.97 kB / 0.554 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.3907, allocations: 191.4 kB / 0.5541 GB, free: 9.27 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3907, allocations: 4 kB / 0.5541 GB, free: 9.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.4277, allocations: 11.54 MB / 0.5654 GB, free: 13.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.025/9.453, allocations: 5.391 kB / 0.5654 GB, free: 13.87 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)