Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_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.001246/0.001246, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 197.2 kB / 18.73 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.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002865/0.002865, allocations: 76.16 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4521, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003222/0.4553, allocations: 2.012 MB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.4567, allocations: 0.8062 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.4568, allocations: 2 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.4573, allocations: 178.6 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.4577, allocations: 210.9 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/0.4586, allocations: 425.6 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.459, allocations: 293.1 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.4592, allocations: 61.66 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.4593, allocations: 120.4 kB / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.4596, allocations: 168.1 kB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.4596, allocations: 14.5 kB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.4597, allocations: 51.09 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.4599, allocations: 158 kB / 0.5349 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.4601, allocations: 196.7 kB / 0.5351 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.4606, allocations: 443 kB / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4607, allocations: 1.219 kB / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4607, allocations: 0 / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.4607, allocations: 4 kB / 0.5355 GB, free: 9.801 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.001332/0.462, allocations: 0.86 MB / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4621, allocations: 9.594 kB / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.4621, allocations: 45.89 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.4622, allocations: 64.03 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.463, allocations: 0.5227 MB / 0.537 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.463, allocations: 12.69 kB / 0.537 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.4631, allocations: 15.22 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.4635, allocations: 150.8 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4635, allocations: 0.9062 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.4635, allocations: 5.969 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4636, allocations: 2.031 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.4641, allocations: 136.4 kB / 0.5373 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.4652, allocations: 0.7407 MB / 0.538 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.4656, allocations: 146.4 kB / 0.5381 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.4659, allocations: 77.09 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.4659, allocations: 5.875 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.466, allocations: 44.02 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.973e-06/0.466, allocations: 0 / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002796/0.4688, allocations: 0.8064 MB / 0.539 GB, free: 7.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.4689, allocations: 83.36 kB / 0.5391 GB, free: 7.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.4702, allocations: 1.08 MB / 0.5402 GB, free: 6.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4702, allocations: 25.7 kB / 0.5402 GB, free: 6.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.4705, allocations: 293.4 kB / 0.5405 GB, free: 6.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.4706, allocations: 54.33 kB / 0.5405 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.4707, allocations: 37.39 kB / 0.5406 GB, free: 6.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4709, allocations: 312.3 kB / 0.5409 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.4714, allocations: 119.1 kB / 0.541 GB, free: 5.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.4719, allocations: 140.4 kB / 0.5411 GB, free: 5.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.4729, allocations: 261 kB / 0.5414 GB, free: 5.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4729, allocations: 3.938 kB / 0.5414 GB, free: 5.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001265/0.4742, allocations: 354.3 kB / 0.5417 GB, free: 5.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.4742, allocations: 4.719 kB / 0.5417 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.4742, allocations: 1.125 kB / 0.5417 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.4742, allocations: 1.156 kB / 0.5417 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.4746, allocations: 60.56 kB / 0.5418 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.4747, allocations: 1.469 kB / 0.5418 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.475, allocations: 49.22 kB / 0.5418 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.475, allocations: 5.125 kB / 0.5418 GB, free: 5.395 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.0002885/0.4753, allocations: 235.7 kB / 0.542 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4754, allocations: 63.28 kB / 0.5421 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.4766, allocations: 402.3 kB / 0.5425 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4767, allocations: 2.562 kB / 0.5425 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4767, allocations: 1.406 kB / 0.5425 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.4767, allocations: 7.984 kB / 0.5425 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.4786, allocations: 0.9599 MB / 0.5434 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4787, allocations: 7.938 kB / 0.5434 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.4789, allocations: 63.88 kB / 0.5435 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.479, allocations: 0 / 0.5435 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.479, allocations: 8 kB / 0.5435 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.479, allocations: 3.984 kB / 0.5435 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.479, allocations: 7.938 kB / 0.5435 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4801, allocations: 0.5134 MB / 0.544 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.4804, allocations: 156.3 kB / 0.5442 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.4805, allocations: 8 kB / 0.5442 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.4808, allocations: 39.94 kB / 0.5442 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.4809, allocations: 31.84 kB / 0.5443 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.481, allocations: 4 kB / 0.5443 GB, free: 3.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008366/0.4818, allocations: 0.788 MB / 0.545 GB, free: 2.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4818, allocations: 0 / 0.545 GB, free: 2.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.4822, allocations: 64 kB / 0.5451 GB, free: 2.52 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.002228/0.4844, allocations: 1.36 MB / 0.5464 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009851/0.4854, allocations: 274 kB / 0.5467 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4854, allocations: 0 / 0.5467 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.4859, allocations: 143.8 kB / 0.5468 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/0.4866, allocations: 102.7 kB / 0.5469 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008538/0.4952, allocations: 6.051 MB / 0.5528 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.4957, allocations: 0.8894 MB / 0.5537 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.496, allocations: 91.3 kB / 0.5538 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.4962, allocations: 187.4 kB / 0.554 GB, free: 9.434 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4962, allocations: 0 / 0.554 GB, free: 9.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.5292, allocations: 11.71 MB / 0.5654 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.976, allocations: 12.16 kB / 0.5654 GB, free: 13.84 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)