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.001346/0.001346, allocations: 114.9 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 205.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3446, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003845/0.3485, allocations: 1.878 MB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3504, allocations: 0.7048 MB / 0.533 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.3506, allocations: 3.562 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.3512, allocations: 170.6 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.3518, allocations: 174 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.3527, allocations: 328.9 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000463/0.3532, allocations: 233.1 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.3534, allocations: 66.52 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.3536, allocations: 102.3 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.3538, allocations: 141.9 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.3539, allocations: 11.31 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.354, allocations: 46.77 kB / 0.5343 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3541, allocations: 109 kB / 0.5344 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3543, allocations: 123.7 kB / 0.5345 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.3547, allocations: 304.6 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3547, allocations: 4 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3548, allocations: 1.156 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3548, allocations: 0 / 0.5348 GB, free: 10.32 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.001298/0.3561, allocations: 0.6722 MB / 0.5354 GB, free: 9.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3561, allocations: 8.656 kB / 0.5354 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.3562, allocations: 43.11 kB / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.3563, allocations: 42.84 kB / 0.5355 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.357, allocations: 375.3 kB / 0.5359 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.357, allocations: 8.844 kB / 0.5359 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.3571, allocations: 10.56 kB / 0.5359 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.3576, allocations: 170 kB / 0.5361 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3576, allocations: 8.953 kB / 0.5361 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3576, allocations: 1.031 kB / 0.5361 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3577, allocations: 6.188 kB / 0.5361 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.3582, allocations: 146.1 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.3594, allocations: 0.6536 MB / 0.5369 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.3598, allocations: 157 kB / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.3601, allocations: 79.78 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3601, allocations: 6.328 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3602, allocations: 36.81 kB / 0.5371 GB, free: 8.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.336e-06/0.3602, allocations: 4.203 kB / 0.5371 GB, free: 8.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002937/0.3631, allocations: 0.7985 MB / 0.5379 GB, free: 7.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3632, allocations: 80.11 kB / 0.538 GB, free: 7.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007847/0.364, allocations: 0.6006 MB / 0.5386 GB, free: 7.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.364, allocations: 26.7 kB / 0.5386 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3642, allocations: 207.1 kB / 0.5388 GB, free: 7.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.3642, allocations: 58.59 kB / 0.5389 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.3643, allocations: 29.66 kB / 0.5389 GB, free: 7.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3645, allocations: 361.1 kB / 0.5392 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.365, allocations: 136.5 kB / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.3655, allocations: 157.9 kB / 0.5395 GB, free: 6.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/0.3664, allocations: 290.9 kB / 0.5398 GB, free: 6.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3664, allocations: 5.875 kB / 0.5398 GB, free: 6.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001105/0.3675, allocations: 364.6 kB / 0.5401 GB, free: 6.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3675, allocations: 6 kB / 0.5401 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3675, allocations: 0 / 0.5401 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3676, allocations: 1.344 kB / 0.5401 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.3679, allocations: 76.17 kB / 0.5402 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3679, allocations: 1.375 kB / 0.5402 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3682, allocations: 40.08 kB / 0.5403 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3682, allocations: 9.312 kB / 0.5403 GB, free: 6.363 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.0002048/0.3684, allocations: 192.6 kB / 0.5405 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.3685, allocations: 37.69 kB / 0.5405 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3698, allocations: 428.3 kB / 0.5409 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3698, allocations: 2.156 kB / 0.5409 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3698, allocations: 0 / 0.5409 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3698, allocations: 1.156 kB / 0.5409 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.3717, allocations: 0.8994 MB / 0.5418 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.3717, allocations: 1.156 kB / 0.5418 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.372, allocations: 71.89 kB / 0.5418 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.372, allocations: 5.188 kB / 0.5419 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3721, allocations: 5.406 kB / 0.5419 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3721, allocations: 1.406 kB / 0.5419 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.3721, allocations: 5 kB / 0.5419 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.3733, allocations: 0.535 MB / 0.5424 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3734, allocations: 133.2 kB / 0.5425 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.3735, allocations: 2.25 kB / 0.5425 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.3738, allocations: 40.33 kB / 0.5426 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.3739, allocations: 25.16 kB / 0.5426 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3739, allocations: 8.688 kB / 0.5426 GB, free: 4.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004841/0.3744, allocations: 444.3 kB / 0.543 GB, free: 4.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3744, allocations: 1.156 kB / 0.543 GB, free: 4.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.3748, allocations: 54.61 kB / 0.5431 GB, free: 4.477 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.00229/0.377, allocations: 1.366 MB / 0.5444 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3781, allocations: 307.7 kB / 0.5447 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3781, allocations: 0 / 0.5447 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.3786, allocations: 167.8 kB / 0.5448 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.3792, allocations: 63.66 kB / 0.5449 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/0.3853, allocations: 4.319 MB / 0.5491 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3857, allocations: 0.8182 MB / 0.5499 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.3859, allocations: 66.25 kB / 0.55 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.3861, allocations: 119.4 kB / 0.5501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3861, allocations: 4 kB / 0.5501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.4118, allocations: 8.041 MB / 0.558 GB, free: 5.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.338, allocations: 7.641 kB / 0.558 GB, free: 5.453 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)