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: translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 198 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.464/1.464, 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.245/0.245, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 79.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4485, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003494/0.452, allocations: 2.014 MB / 0.533 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.4535, allocations: 0.7999 MB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.4537, allocations: 6.688 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.4542, allocations: 177.6 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005193/0.4548, allocations: 214.6 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4558, allocations: 421 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.4563, allocations: 295.3 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.4565, allocations: 61.56 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.4567, allocations: 121.5 kB / 0.535 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.4569, allocations: 167.5 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.457, allocations: 14.12 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.4571, allocations: 39.12 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.4573, allocations: 174.4 kB / 0.5354 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.4575, allocations: 188.3 kB / 0.5356 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.4581, allocations: 421.1 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4581, allocations: 1.125 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4581, allocations: 0 / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.4581, allocations: 4 kB / 0.536 GB, free: 10 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.001516/0.4597, allocations: 0.8331 MB / 0.5368 GB, free: 9.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4597, allocations: 8.781 kB / 0.5368 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.4598, allocations: 58.97 kB / 0.5368 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.4606, allocations: 0.4961 MB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4606, allocations: 8.156 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.4606, allocations: 15.2 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.4611, allocations: 162.9 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4611, allocations: 4.625 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4611, allocations: 4.75 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4611, allocations: 2.688 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.4616, allocations: 134.2 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.4628, allocations: 0.7265 MB / 0.5383 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.4632, allocations: 141.5 kB / 0.5385 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.4635, allocations: 73.81 kB / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.4635, allocations: 9.672 kB / 0.5386 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4635, allocations: 35.84 kB / 0.5386 GB, free: 7.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.4635, allocations: 0 / 0.5386 GB, free: 7.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002721/0.4663, allocations: 0.8089 MB / 0.5394 GB, free: 7.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.4663, allocations: 79.36 kB / 0.5395 GB, free: 7.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.4677, allocations: 1.046 MB / 0.5405 GB, free: 6.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4677, allocations: 33.7 kB / 0.5405 GB, free: 6.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.4679, allocations: 284.7 kB / 0.5408 GB, free: 6.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.468, allocations: 61.25 kB / 0.5408 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.4681, allocations: 38.3 kB / 0.5409 GB, free: 6.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4682, allocations: 311.1 kB / 0.5412 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.4687, allocations: 119.8 kB / 0.5413 GB, free: 6.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.4691, allocations: 136 kB / 0.5414 GB, free: 6.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/0.47, allocations: 257.2 kB / 0.5417 GB, free: 5.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.47, allocations: 4 kB / 0.5417 GB, free: 5.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001094/0.4711, allocations: 353.5 kB / 0.542 GB, free: 5.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.4711, allocations: 5.156 kB / 0.542 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4711, allocations: 0 / 0.542 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4712, allocations: 1.406 kB / 0.542 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.4715, allocations: 68.27 kB / 0.5421 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4715, allocations: 1.531 kB / 0.5421 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.4718, allocations: 39.67 kB / 0.5421 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.4718, allocations: 4.719 kB / 0.5421 GB, free: 5.727 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.0002551/0.4721, allocations: 229.4 kB / 0.5423 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.4723, allocations: 58.34 kB / 0.5424 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.4735, allocations: 408.3 kB / 0.5428 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.4735, allocations: 2.844 kB / 0.5428 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4735, allocations: 3.938 kB / 0.5428 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4735, allocations: 5.516 kB / 0.5428 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.4754, allocations: 0.9427 MB / 0.5437 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4754, allocations: 0 / 0.5437 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.4757, allocations: 59.94 kB / 0.5438 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4757, allocations: 0 / 0.5438 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.4757, allocations: 8 kB / 0.5438 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4758, allocations: 0 / 0.5438 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4758, allocations: 0 / 0.5438 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4769, allocations: 0.5212 MB / 0.5443 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.4771, allocations: 152.3 kB / 0.5444 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.4772, allocations: 8 kB / 0.5444 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.4775, allocations: 31.95 kB / 0.5445 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.4776, allocations: 27.91 kB / 0.5445 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.4777, allocations: 8 kB / 0.5445 GB, free: 3.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.4787, allocations: 0.7684 MB / 0.5453 GB, free: 2.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4787, allocations: 0 / 0.5453 GB, free: 2.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.4792, allocations: 67.98 kB / 0.5453 GB, free: 2.695 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.001092/0.4803, allocations: 410.3 kB / 0.5457 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4813, allocations: 275.7 kB / 0.546 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4813, allocations: 0 / 0.546 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004631/0.4818, allocations: 147.8 kB / 0.5461 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.4826, allocations: 91.44 kB / 0.5462 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4845, allocations: 1.032 MB / 0.5472 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.4851, allocations: 0.8816 MB / 0.5481 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.4854, allocations: 99.52 kB / 0.5482 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.4856, allocations: 35.44 kB / 0.5482 GB, free: 15.82 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4856, allocations: 0 / 0.5482 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Templates: time 0.01301/0.4986, allocations: 5.177 MB / 0.5533 GB, free: 10.66 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)