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.001262/0.001262, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3024/0.3024, allocations: 46.12 MB / 344.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 75.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3731, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003312/0.3764, allocations: 1.865 MB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3778, allocations: 0.7131 MB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.945e-05/0.3779, allocations: 4.844 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.3784, allocations: 171.7 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.3787, allocations: 178.2 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.3795, allocations: 331.9 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.3798, allocations: 241.1 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3799, allocations: 59.91 kB / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3801, allocations: 92.92 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.3802, allocations: 141.5 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.3803, allocations: 16.36 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3804, allocations: 37.56 kB / 0.5344 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3805, allocations: 109.6 kB / 0.5345 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3807, allocations: 127.5 kB / 0.5346 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.3811, allocations: 309.4 kB / 0.5349 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3811, allocations: 1.156 kB / 0.5349 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3811, allocations: 0 / 0.5349 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3811, allocations: 0 / 0.5349 GB, free: 10.24 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.001054/0.3822, allocations: 0.6874 MB / 0.5356 GB, free: 9.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3822, allocations: 10.09 kB / 0.5356 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.3823, allocations: 41.86 kB / 0.5356 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.154e-05/0.3823, allocations: 46.34 kB / 0.5357 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.3828, allocations: 385.1 kB / 0.536 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.3828, allocations: 4.031 kB / 0.536 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.3829, allocations: 11.09 kB / 0.536 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.3833, allocations: 170.7 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3834, allocations: 1.344 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.3834, allocations: 9.344 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3834, allocations: 1.688 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/0.3839, allocations: 149.8 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.385, allocations: 0.6497 MB / 0.537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.3855, allocations: 153 kB / 0.5371 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.3857, allocations: 84.86 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3858, allocations: 2.156 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3858, allocations: 35.53 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.3858, allocations: 0 / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00278/0.3886, allocations: 0.8085 MB / 0.538 GB, free: 7.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3887, allocations: 84.05 kB / 0.5381 GB, free: 7.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.3894, allocations: 0.5928 MB / 0.5387 GB, free: 7.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3894, allocations: 25.7 kB / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.3896, allocations: 212 kB / 0.5389 GB, free: 7.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.3897, allocations: 57.75 kB / 0.539 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.3898, allocations: 34.58 kB / 0.539 GB, free: 7.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3899, allocations: 365.6 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.3904, allocations: 131.3 kB / 0.5395 GB, free: 6.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.3909, allocations: 161.8 kB / 0.5396 GB, free: 6.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009428/0.3919, allocations: 299.2 kB / 0.5399 GB, free: 6.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3919, allocations: 7.875 kB / 0.5399 GB, free: 6.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001107/0.393, allocations: 366.4 kB / 0.5403 GB, free: 6.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.393, allocations: 9.422 kB / 0.5403 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.393, allocations: 0 / 0.5403 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3931, allocations: 1.156 kB / 0.5403 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.3934, allocations: 68.88 kB / 0.5404 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3934, allocations: 1.094 kB / 0.5404 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.3937, allocations: 44.44 kB / 0.5404 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3937, allocations: 4.531 kB / 0.5404 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.0002214/0.394, allocations: 193.1 kB / 0.5406 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.394, allocations: 41.92 kB / 0.5406 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3952, allocations: 419.3 kB / 0.541 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3953, allocations: 2.344 kB / 0.541 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3953, allocations: 1.25 kB / 0.541 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3953, allocations: 1.25 kB / 0.541 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.3971, allocations: 0.9223 MB / 0.5419 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3971, allocations: 0.9062 kB / 0.5419 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.3975, allocations: 67.5 kB / 0.542 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3975, allocations: 1.562 kB / 0.542 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3975, allocations: 6.562 kB / 0.542 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3975, allocations: 4.969 kB / 0.542 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.3975, allocations: 5.094 kB / 0.542 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3988, allocations: 0.5252 MB / 0.5425 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.3989, allocations: 133 kB / 0.5427 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.399, allocations: 10.12 kB / 0.5427 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.3993, allocations: 32.08 kB / 0.5427 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.3994, allocations: 24.97 kB / 0.5427 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3994, allocations: 11.69 kB / 0.5427 GB, free: 4.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006278/0.4, allocations: 449.9 kB / 0.5432 GB, free: 4.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4, allocations: 0 / 0.5432 GB, free: 4.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.4004, allocations: 56.66 kB / 0.5432 GB, free: 4.352 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.002932/0.4034, allocations: 1.362 MB / 0.5446 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.4045, allocations: 314.3 kB / 0.5449 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4045, allocations: 0 / 0.5449 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.405, allocations: 171.8 kB / 0.545 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.4057, allocations: 53.33 kB / 0.5451 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/0.4126, allocations: 4.326 MB / 0.5493 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.4132, allocations: 0.8104 MB / 0.5501 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.4134, allocations: 70.55 kB / 0.5501 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.4136, allocations: 131.3 kB / 0.5503 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4136, allocations: 0 / 0.5503 GB, free: 13.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.4438, allocations: 7.904 MB / 0.558 GB, free: 5.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/8.909, allocations: 10.84 kB / 0.558 GB, free: 5.414 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)