Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_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.001193/0.001193, allocations: 117.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 204.6 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.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 79.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3137, allocations: 62.43 MB / 0.5305 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002889/0.3166, allocations: 1.878 MB / 0.5324 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3177, allocations: 0.7015 MB / 0.533 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.259e-05/0.3178, allocations: 1.344 kB / 0.533 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.3182, allocations: 175.4 kB / 0.5332 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.3186, allocations: 170.6 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.3192, allocations: 338.6 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3195, allocations: 233.6 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.3197, allocations: 58.97 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3198, allocations: 105.6 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.32, allocations: 145.9 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.32, allocations: 12.22 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.3201, allocations: 38 kB / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.3202, allocations: 113.4 kB / 0.5344 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3203, allocations: 127.5 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.3207, allocations: 300.5 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3207, allocations: 0 / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3207, allocations: 1.406 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.3207, allocations: 4 kB / 0.5348 GB, free: 10.2 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.0008829/0.3216, allocations: 0.6721 MB / 0.5354 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3216, allocations: 9.625 kB / 0.5354 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.3217, allocations: 49.38 kB / 0.5355 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.3217, allocations: 39.19 kB / 0.5355 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.3222, allocations: 368.3 kB / 0.5359 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3222, allocations: 7.75 kB / 0.5359 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.3222, allocations: 15 kB / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.3227, allocations: 174.2 kB / 0.5361 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3227, allocations: 1.438 kB / 0.5361 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3227, allocations: 4 kB / 0.5361 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3227, allocations: 2.656 kB / 0.5361 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.3232, allocations: 150.5 kB / 0.5362 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009384/0.3241, allocations: 0.6535 MB / 0.5369 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.3245, allocations: 147.8 kB / 0.537 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.3248, allocations: 89.67 kB / 0.5371 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.3248, allocations: 2.188 kB / 0.5371 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3249, allocations: 35.81 kB / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.998e-06/0.3249, allocations: 0 / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002548/0.3274, allocations: 0.7906 MB / 0.5379 GB, free: 7.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3275, allocations: 88.16 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.3282, allocations: 0.5965 MB / 0.5386 GB, free: 7.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3282, allocations: 31.05 kB / 0.5386 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3284, allocations: 202.7 kB / 0.5388 GB, free: 7.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.3284, allocations: 55.83 kB / 0.5388 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.3285, allocations: 42.39 kB / 0.5389 GB, free: 7.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3286, allocations: 355.6 kB / 0.5392 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.3291, allocations: 135.6 kB / 0.5393 GB, free: 6.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.3295, allocations: 157.8 kB / 0.5395 GB, free: 6.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/0.3303, allocations: 299.7 kB / 0.5398 GB, free: 6.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3303, allocations: 3.938 kB / 0.5398 GB, free: 6.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001015/0.3313, allocations: 361.4 kB / 0.5401 GB, free: 6.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3314, allocations: 5.406 kB / 0.5401 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3314, allocations: 1.406 kB / 0.5401 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3314, allocations: 1.25 kB / 0.5401 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.3317, allocations: 71.8 kB / 0.5402 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3318, allocations: 5.156 kB / 0.5402 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.332, allocations: 40.56 kB / 0.5403 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.332, allocations: 13.66 kB / 0.5403 GB, free: 6.254 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.0002153/0.3322, allocations: 188.4 kB / 0.5404 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.3323, allocations: 38.09 kB / 0.5405 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3335, allocations: 426.5 kB / 0.5409 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3335, allocations: 3.375 kB / 0.5409 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3335, allocations: 4 kB / 0.5409 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3336, allocations: 1.188 kB / 0.5409 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.3351, allocations: 0.9115 MB / 0.5418 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3351, allocations: 1.094 kB / 0.5418 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.3354, allocations: 59.53 kB / 0.5418 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3354, allocations: 5.031 kB / 0.5418 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.3354, allocations: 10.34 kB / 0.5419 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3354, allocations: 1.031 kB / 0.5419 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3354, allocations: 5.125 kB / 0.5419 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3365, allocations: 0.5327 MB / 0.5424 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3367, allocations: 124.5 kB / 0.5425 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3367, allocations: 6.344 kB / 0.5425 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.337, allocations: 44 kB / 0.5426 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.3371, allocations: 20.83 kB / 0.5426 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.3371, allocations: 4 kB / 0.5426 GB, free: 4.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005174/0.3377, allocations: 453.8 kB / 0.543 GB, free: 4.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3377, allocations: 0 / 0.543 GB, free: 4.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.338, allocations: 47.84 kB / 0.5431 GB, free: 4.371 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.002021/0.3401, allocations: 1.373 MB / 0.5444 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009228/0.341, allocations: 307.7 kB / 0.5447 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.341, allocations: 0 / 0.5447 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.3415, allocations: 175.7 kB / 0.5449 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.0005202/0.342, allocations: 58.53 kB / 0.5449 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005734/0.3477, allocations: 4.323 MB / 0.5491 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3481, allocations: 0.8104 MB / 0.5499 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.3483, allocations: 74.23 kB / 0.55 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3485, allocations: 119.4 kB / 0.5501 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3485, allocations: 0 / 0.5501 GB, free: 13.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.3731, allocations: 7.905 MB / 0.5578 GB, free: 5.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.515, allocations: 8.156 kB / 0.5578 GB, free: 5.465 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)