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: translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 118.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.001292/0.001292, 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.456/1.456, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 79.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4326, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003605/0.4363, allocations: 1.88 MB / 0.5328 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.4376, allocations: 0.7057 MB / 0.5335 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.4377, allocations: 5.375 kB / 0.5335 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.4382, allocations: 175.1 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.4387, allocations: 170.5 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.4394, allocations: 330.8 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.4398, allocations: 237.8 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.44, allocations: 63.02 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.4402, allocations: 97.94 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.4405, allocations: 145.7 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.4405, allocations: 11.59 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.4406, allocations: 38.31 kB / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.4408, allocations: 113.5 kB / 0.5349 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.441, allocations: 122.7 kB / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.4414, allocations: 299.3 kB / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4414, allocations: 0 / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4414, allocations: 0 / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.4414, allocations: 1.156 kB / 0.5353 GB, free: 10.5 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.001147/0.4426, allocations: 0.6496 MB / 0.5359 GB, free: 9.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4426, allocations: 17.22 kB / 0.5359 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.956e-05/0.4427, allocations: 37.69 kB / 0.5359 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.4432, allocations: 366.5 kB / 0.5363 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.4433, allocations: 7.531 kB / 0.5363 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.4433, allocations: 11.16 kB / 0.5363 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.4438, allocations: 171.1 kB / 0.5365 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4438, allocations: 4.969 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4438, allocations: 1.094 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4439, allocations: 3.219 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.4444, allocations: 153.7 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.4454, allocations: 0.643 MB / 0.5373 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.4459, allocations: 156 kB / 0.5374 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.4462, allocations: 76.31 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.4462, allocations: 2.281 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.4462, allocations: 41.11 kB / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.747e-06/0.4463, allocations: 0 / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002874/0.4491, allocations: 0.7897 MB / 0.5383 GB, free: 8.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.4492, allocations: 83.08 kB / 0.5384 GB, free: 8.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008552/0.4501, allocations: 0.582 MB / 0.5389 GB, free: 7.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4501, allocations: 26.92 kB / 0.539 GB, free: 7.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.4503, allocations: 203.3 kB / 0.5392 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.4504, allocations: 61.47 kB / 0.5392 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.4504, allocations: 35.19 kB / 0.5392 GB, free: 7.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4506, allocations: 351.3 kB / 0.5396 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.4511, allocations: 132.4 kB / 0.5397 GB, free: 7.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.4516, allocations: 163.1 kB / 0.5399 GB, free: 7.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.4526, allocations: 299 kB / 0.5402 GB, free: 6.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4526, allocations: 0 / 0.5402 GB, free: 6.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00118/0.4538, allocations: 369.3 kB / 0.5405 GB, free: 6.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.4539, allocations: 5.625 kB / 0.5405 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4539, allocations: 1.188 kB / 0.5405 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.4539, allocations: 5.062 kB / 0.5405 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.4543, allocations: 72.05 kB / 0.5406 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4543, allocations: 1.219 kB / 0.5406 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.4546, allocations: 31.58 kB / 0.5406 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.4546, allocations: 9.219 kB / 0.5406 GB, free: 6.648 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.0002486/0.4549, allocations: 197.7 kB / 0.5408 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.985e-05/0.455, allocations: 36.94 kB / 0.5408 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.4562, allocations: 410.4 kB / 0.5412 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4563, allocations: 2.406 kB / 0.5412 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4563, allocations: 1 kB / 0.5412 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4563, allocations: 7.969 kB / 0.5412 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.4581, allocations: 0.9016 MB / 0.5421 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4581, allocations: 1.156 kB / 0.5421 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.4584, allocations: 74.58 kB / 0.5422 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4584, allocations: 6.125 kB / 0.5422 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.4585, allocations: 2.156 kB / 0.5422 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.4585, allocations: 1.125 kB / 0.5422 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4585, allocations: 1.031 kB / 0.5422 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4597, allocations: 0.5283 MB / 0.5427 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4598, allocations: 124.5 kB / 0.5428 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.4599, allocations: 5.5 kB / 0.5429 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.4602, allocations: 36.11 kB / 0.5429 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4603, allocations: 28.22 kB / 0.5429 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.4603, allocations: 4.594 kB / 0.5429 GB, free: 5.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000616/0.4609, allocations: 441.8 kB / 0.5433 GB, free: 4.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4609, allocations: 3.938 kB / 0.5433 GB, free: 4.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.4614, allocations: 52 kB / 0.5434 GB, free: 4.645 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.001317/0.4627, allocations: 404.4 kB / 0.5438 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4638, allocations: 307.7 kB / 0.5441 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4638, allocations: 0 / 0.5441 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.4643, allocations: 179.8 kB / 0.5442 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.4649, allocations: 54.42 kB / 0.5443 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4661, allocations: 0.7065 MB / 0.545 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.4666, allocations: 0.8182 MB / 0.5458 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.4667, allocations: 66.25 kB / 0.5458 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.4668, allocations: 31.42 kB / 0.5459 GB, free: 2.184 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4668, allocations: 0 / 0.5459 GB, free: 2.184 MB / 398.1 MB Notification: Performance of Templates: time 0.008375/0.4752, allocations: 3.687 MB / 0.5495 GB, free: 14.52 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)